Preheat your oven to 375°F (190°C).
Cook ziti pasta according to package instructions until al dente. Drain and set aside.
In a large skillet, crumble and cook the Italian sausage over medium heat until browned. Drain excess fat.
Add marinara sauce to the skillet with the sausage. Stir to combine and let it heat through for about 5 minutes.
In a large bowl, combine ricotta cheese, egg, garlic powder, oregano, red pepper flakes, and a pinch of salt and pepper. Mix until well blended.
In a large mixing bowl, combine the cooked pasta, sausage mixture, and the ricotta mixture until well combined.
Spread half of the pasta mixture into a 9x13 inch baking dish. Top with half of the mozzarella and half of the Parmesan.
Add the remaining pasta mixture, top with the rest of the mozzarella and Parmesan cheeses.
Cover the dish with aluminum foil and bake for 25 minutes. Remove the foil and bake for another 15-20 minutes until cheese is bubbly and golden.
Let the baked ziti rest for about 10-15 minutes before serving. Garnish with fresh basil.