Preheat oven to 425.
Heat oil in an oven proof skillet over medium-high heat. Add onion and cook, stirring until softened, about 3 minutes. Add garlic and cook for 1 minute. Add the tomatoes and bring to a boil. Reduce heat to medium-low and simmer for about 5 minutes, until tomato juice thickens.
Remove from heat. Stir in parsley, basil and shrimp and season with salt and pepper. Sprinkle Parmesan over top. Bake until the shrimp are cooked through and cheese melts, about 12 minutes. Combine with cooked pasta and serve.