Bring a large pot of salted water to a boil and cook the pasta until just shy of al dente, about 1 minute less than package instructions. Drain and set aside.
While the pasta cooks, heat olive oil in a large skillet over medium heat. Add minced garlic and cook until fragrant, about 30 seconds, until it turns golden and releases a fragrant aroma.
If using meat, add ground beef or sausage to the skillet, breaking it apart with a spoon. Cook until browned and cooked through, about 8 minutes. Drain excess fat if necessary, then season with a pinch of salt and pepper.
In a large mixing bowl, combine the cooked pasta with marinara sauce and half of the shredded mozzarella. Stir well, folding in the sauce evenly to coat all the pasta and distribute the cheese.
Transfer the pasta mixture into the prepared baking dish, spreading it out evenly in an even layer.
Sprinkle the remaining mozzarella cheese evenly over the top, then add grated Parmesan and a light sprinkle of toasted breadcrumbs for crunch. Drizzle with a little olive oil for added shine and crispness.
Bake uncovered in a preheated oven at 180°C (350°F) for 20-25 minutes, until the cheese is bubbly and golden, and the breadcrumbs are crispy. If needed, broil for an additional 2 minutes to achieve a perfect golden crust.
Remove from oven and let the ziti rest for about 10 minutes. This helps the cheese set and makes serving easier. Garnish with chopped fresh basil or oregano if desired.
Scoop portions onto plates and enjoy this warm, cheesy, crispy-topped comfort dish that’s perfect for a cozy weeknight dinner.