Preheat the oven to 375°F (190°C). Lightly oil or spray a 9x13-inch baking dish.
Bring a large pot of salted water to a boil and cook the ziti according to package directions until al dente (about 9–11 minutes). Drain and set aside.
In a large bowl, crack the eggs and beat briefly, then add the ricotta and mix until smooth.
Add 1 cup shredded or diced mozzarella, 1/2 cup shredded Parmesan, Italian seasoning, parsley, salt, pepper, and minced garlic to the ricotta; stir until combined.
Toss the drained ziti with the ricotta-cheese mixture until the pasta is evenly coated.
Spread about 2 cups of marinara sauce in the bottom of the prepared baking dish, then add the cheesy pasta and spread evenly.
Spoon the remaining 2 cups marinara over the pasta, then top with the remaining 1 cup mozzarella and 1/2 cup Parmesan.
Cover the dish with foil and bake for 20–25 minutes, until sauce is bubbling. Remove foil and bake 3–5 minutes more if you want the top browned.
Let the baked ziti rest for 5 minutes before serving, then sprinkle with additional parsley or basil if desired.