Heat oil in a large saucepan over medium-high heat. Add garlic and cook for one minute, stirring constantly. Add tomatoes, red pepper flakes, and salt and heat until it comes to a boil. Remove from heat and stir in basil.
Toss sauce with ravioli. Pour into a greased 9x13-inch baking dish.
Top ravioli with a layer of mozzarella cheese, then sprinkle Parmesan Romano cheese on top. Bake 20 to 25 minutes, until sauce is bubbling and cheese is golden brown. Cool slightly before serving.