Bring a large pot of salted water to a rolling boil. Cook ziti for 2 minutes less than the package directions. Drain, toss with a drizzle of olive oil, and set aside.
Heat olive oil in a large saucepan over medium-high heat. Add ground beef and cook for 5 to 6 minutes until no pink remains. ⚠️ Food Safety: Ground beef must reach 75°C (165°F) throughout.
Add diced onion and cook 3 to 4 minutes until softened. Add garlic and stir 1 minute until fragrant.
Add marinara sauce, crushed tomatoes, Italian seasoning, salt, pepper, and red pepper flakes. Stir well. Simmer uncovered over medium-low heat for 20 minutes until the sauce thickens and coats a spoon.
In a bowl, combine ricotta, egg, parsley, salt, and pepper until smooth. Fold in 1 cup mozzarella and 2 tablespoons Parmesan.
Preheat oven to 190°C (375°F). Lightly grease a 9x13 inch baking dish.
Spread 1 cup of meat sauce on the bottom of the dish. Add half the pasta in an even layer. Spoon all the ricotta mixture over the pasta and spread gently. Add another cup of sauce over the ricotta. Add the remaining pasta. Pour remaining sauce evenly over the top.
Scatter remaining mozzarella over the top, then sprinkle remaining Parmesan over that. Cover tightly with foil (foil should not touch the cheese).
Bake covered at 190°C (375°F) for 30 minutes until the sauce bubbles at the edges. Remove foil and bake uncovered for 10 minutes until the cheese is golden and blistered.
Remove from the oven. Rest uncovered for 10 minutes. Internal temperature should read at least 74°C (165°F) at the center before serving.