Preheat your oven to 375 degrees F.
Add the ground beef to a large pot and brown completely. Season the beef with garlic powder, Italian seasoning, salt, and pepper.
Stir in the marinara sauce, diced tomatoes, and red pepper flakes. Cover and simmer for 15 minutes. Once the 15 minutes are up, check for seasoning and reserve 2 cups of sauce.
While the meat sauce simmers, cook the ziti pasta in boiling salted water.
In a large bowl, combine the ricotta cheese, mozzarella cheese, parmesan cheese, egg, parsley, basil, and garlic. Mix well and season with salt and pepper. Set it aside.
Add the cooked pasta to the meat sauce and mix well. Add 1/2 of the pasta to a 9x13 baking dish. Place dollops of the ricotta mixture over the ziti along with fresh mozzarella cheese.
Pour the 2 cups of meat sauce over the ziti. Add the remaining layer of ziti pasta along with the remaining ricotta cheese mixture. Sprinkle the shredded mozzarella cheese and parmesan cheese over the top.
Cover with aluminum foil and bake for 20 minutes. Uncover and bake for an additional 10 minutes. Broil for 1-2 minutes. Garnish with fresh basil or parsley, if desired, and enjoy!