Preheat oven to 400 degrees.
In a foil-lined baking dish, toss tomatoes with 1 tbsp olive oil, balsamic vinegar, salt, and pepper.
Cut off the top of the garlic bulb so the cloves are exposed. Wrap in aluminum foil and before sealing the top, drizzle with olive oil. Pinch close tightly and place in baking dish with tomatoes. Cook for 1 hour, stirring tomatoes occasionally.
Meanwhile, cook pasta according to package directions.
When the garlic bulb is cool to the touch, remove the cloves and add them to a small bowl. Mash garlic and mix with 2 tbsp of olive oil.
Add garlic mixture to pasta along with basil and tomatoes. Mix well and season with salt and pepper. Serve with a dollop of ricotta and additional fresh basil (optional)