Begin by preheating your oven to 375°F (190°C), ensuring it is hot enough to provide an even bake.
In a large pot, bring salted water to a boil to cook the pasta. Add the linguine or penne and cook according to the package instructions until al dente. Once cooked, drain the pasta and set it aside to cool slightly.
While the pasta is cooking, melt the butter in a large skillet over medium heat. Once melted, add the minced garlic along with the red pepper flakes. Sauté for 1-2 minutes until the garlic becomes fragrant and slightly golden, but be careful not to burn it.
Add the peeled and deveined shrimp to the skillet. Cook the shrimp for about 3-4 minutes, stirring occasionally, until they turn pink and opaque. Season with salt and pepper to taste.
Stir in the lemon juice and zest followed by the heavy cream. Mix thoroughly, allowing the mixture to come to a gentle simmer for an additional 2-3 minutes, which helps to meld the flavors.
In a large mixing bowl, combine the cooked pasta, shrimp mixture, halved cherry tomatoes, and half of both the mozzarella and Parmesan cheeses. Gently toss until the ingredients are evenly combined.
Grease a 9x13 inch baking dish and transfer the pasta mixture into it, spreading it out evenly. Sprinkle the top with the remaining mozzarella and Parmesan cheese for a deliciously gooey topping.
Place the baking dish in the preheated oven and bake for 25-30 minutes, or until the cheese is melted, bubbly, and the top is a beautiful golden brown.
Once baked, carefully remove the dish from the oven and let it rest for a few minutes. This will help set the dish and make serving easier. Before serving, garnish with chopped fresh parsley for a pop of color and freshness.
Notes
Serve in individual bowls with a lemon wedge and parsley for garnish.