01 - Set oven to 400°F (200°C) to ensure consistent baking temperature.
02 - Boil a large pot of salted water. Cook ziti until just under al dente, approximately 2 minutes less than package directions. Drain and reserve.
03 - Heat olive oil in a large skillet over medium heat. Sauté minced garlic for 1 minute until aromatic.
04 - Add halved cherry tomatoes, tomato paste, dried oregano, red pepper flakes, sugar, salt, and black pepper. Stir frequently until the tomatoes burst and release juice, about 8 to 10 minutes.
05 - Remove skillet from heat. Stir in chopped basil to maintain freshness of flavor.
06 - In a large mixing bowl, fold drained pasta, tomato sauce, and ricotta cheese together until evenly coated.
07 - Spread half the pasta mixture into a 9x13 inch baking dish. Sprinkle evenly with half of the mozzarella and Parmesan. Layer with remaining pasta mixture and top with rest of mozzarella and Parmesan.
08 - Transfer baking dish to the oven, uncovered. Bake for 20 to 25 minutes until the cheese is melted and lightly golden.
09 - Remove dish from oven and let rest for 5 minutes. Garnish with additional fresh basil and serve hot.