Preheat oven to 375°F and lightly oil a 9x13 baking dish.
Cook pasta according to package instructions until just al dente. Drain and set aside.
Heat olive oil in a skillet over medium heat. Add garlic and chicken sausage, cooking until browned.
Stir in marinara sauce and red pepper flakes. Let simmer for 5 minutes.
In a large bowl, combine pasta, sausage mixture, and ricotta. Mix well.
Transfer to the baking dish. Top with mozzarella and parmesan.
Bake uncovered for 25 minutes, until cheese is melted and bubbly.
Let cool for 5 minutes, sprinkle with basil, and serve warm.