Preheat the oven to 380 F. Place the tomatoes in a baking dish. Remove garlic cloves place in a baking dish. Peel the shallot and cut it into several pieces, also place it in a baking dish.
Pour in olive oil, sprinkle with salt, pepper and dried herbs. Cover the baking dish with foil.
Bake the tomato confit for 40 minutes. Then remove the foil, reduce the temperature to 340 and bake for another 20 minutes until dish is very tender to your liking.