In a large saucepan heat the olive oil and, when hot, add the garlic and cook until fragrant, about 1 minute. Add the tomatoes, clam juice, oregano, thyme, crushed red pepper, and capers, and cook until the sauce is thickened and reduced by half in volume, 20 to 25 minutes. Season, to taste, with salt and pepper and set aside.
Preheat the oven to 350 degrees F.
Heat the butter in a large skillet until it begins to foam. Add the shrimp and cook, stirring occasionally, until they just begin to turn pink. Remove pan from heat, and add ouzo. Return pan to the heat and shake carefully to ignite the alcohol. Season lightly with salt, to taste. Remove from the heat. Do not overcook; shrimp should not be cooked through at this point.
Add the sauce to a large casserole dish or individual gratin dishes. Nestle the shrimp down in the sauce and crumble the feta evenly over the top. Bake for 12 to 15 minutes, or until shrimp are cooked through and the sauce is hot and bubbly. Remove from the oven and serve immediately, with pieces of crusty bread for dipping.