Heat the oven to 375°F (190°C) and lightly oil a 9-by-13-inch baking dish.
Bring a large pot of water to a boil, add the tablespoon of kosher salt and ziti, and cook until just shy of al dente, about 2 minutes less than the package directs; the pasta should still feel firm.
Warm the olive oil in a large skillet over medium heat, then add the sausage and onion; cook for 7 to 9 minutes, breaking up the meat, until browned and the onion is soft.
Stir the garlic into the skillet and cook for 30 seconds until fragrant, then add the marinara, oregano, 1/2 teaspoon salt, and black pepper; simmer for 5 minutes until the sauce is gently bubbling.
Mix the ricotta, egg, parsley, 1 cup of mozzarella, and 1/2 cup of Parmesan in a bowl until evenly combined.
Drain the ziti, return it to the pot, and stir in the sausage sauce until the pasta is coated; the noodles should look glossy with sauce.
Spread half the pasta mixture in the prepared dish, spoon half the ricotta mixture over it, and repeat with the remaining pasta and ricotta; sprinkle the remaining 1 cup mozzarella and 1/2 cup Parmesan evenly over the top.
Bake uncovered for 25 to 30 minutes until the edges bubble and the cheese is melted with golden spots, then rest for 10 minutes so the layers hold when served.