Preheat the oven to 375 degrees F. Grease a 2 to 3 quart casserole dish or a 9x13 baking pan.
Boil the pasta in a large pot of salted water to just al dente per instructions on box. Drain and rinse under cold water. Set aside.
Meanwhile, in a skillet over medium-high heat, cook the hot sausage, onion, and garlic until the meat is well browned. Take time to break the sausage into small chunks as the meat browns. Drain off excess fat.
Mix the ricotta with the salt, pepper, and basil.
Mix the sausage, mozzarella and marinara sauce in the pasta pot. Add the pasta and stir to combine. Layer the pasta in the prepared pan with the ricotta, dolloping over the top and spreading out. Repeat the process 2 or thee times as your dish will allow. Sprinkle with the Parmesan cheese.
Bake for 20 minutes, until the sauce is bubbling and the cheese is golden brown on top.