Bring a large pot of salted water to a boil. Add the ziti and cook until al dente, 8-10 minutes.
Meanwhile, heat the olive oil in a large skillet over medium heat. Add the onion and garlic and cook until softened, about 5 minutes.
Stir in the tomato paste, crushed tomatoes, Italian seasoning, red pepper flakes, salt, and black pepper. Simmer for 10 minutes.
Drain the ziti and return it to the pot. Add the sauce and basil and stir to combine.
Spread half of the ziti mixture in a 9x13-inch baking dish. Top with half of the ricotta cheese and sprinkle with half of the Parmesan cheese. Top with the remaining ziti mixture and spread the remaining ricotta cheese over the top. Sprinkle with the remaining Parmesan cheese and mozzarella cheese.
Bake for 25-30 minutes until the cheese is melted and bubbly.
Let cool for 5 minutes before serving.
Interesting Facts
Baked ziti is a classic Italian-American dish that is popular in Italian restaurants and homes alike.
This dish is a great way to use up leftover pasta sauce.
This dish can be made ahead of time and frozen for up to 2 months.