Cook the Pasta: Bring a large pot of salted water to a boil. Cook the ziti until just shy of al dente. Drain, toss with olive oil, and set aside.
Prepare the Sauce: In a skillet over medium heat, brown the ground beef or sausage until cooked. Drain any excess fat. Add marinara sauce, garlic powder, oregano, red pepper flakes, salt, and pepper. Simmer for 10 minutes.
Mix the Cheese Filling: In a bowl, combine ricotta (or cottage cheese), mozzarella, Parmesan, egg, and dried basil. Mix until smooth.
Assemble the Ziti: Preheat your oven to 375°F (190°C). In a greased baking dish, spread a layer of sauce. Add half the pasta, then half the cheese mixture. Repeat layers, ending with sauce on top. Sprinkle with mozzarella cheese.
Bake: Cover the dish with foil and bake for 20 minutes. Remove the foil and bake for an additional 10 minutes, or until the cheese is golden and bubbly.
Serve: Let the baked ziti cool for 5-10 minutes. Garnish with parsley, if desired, and serve warm.