Preheat your oven to 375°F (190°C).
Cook the ziti pasta according to the package instructions. Drain and set aside.
In a large pot, cook the ground beef or Italian sausage over medium heat until browned. Add the minced garlic, dried basil, and dried oregano. Cook for another 2 minutes.
Stir in the marinara sauce and let it simmer for 10 minutes.
In a mixing bowl, combine the ricotta cheese, 1 cup of mozzarella cheese, and half of the grated Parmesan cheese. Season with salt and pepper to taste.
In a large baking dish, layer half of the cooked ziti pasta, followed by half of the meat sauce, and then the ricotta cheese mixture. Repeat the layers with the remaining pasta, meat sauce, and ricotta mixture.
Sprinkle the remaining mozzarella cheese and Parmesan cheese on top.
Bake in the preheated oven for 20-25 minutes, or until the cheese is melted and bubbly.
Let it cool for a few minutes before serving. Enjoy!