Add the sherry vinegar, sugar, red pepper flakes, oregano, and basil to the tomato juice. Stir and cook over high heat. Once bubbles begin to form on the surface, reduce to a simmer. Allow liquid to reduce by 1/2 or until liquid has thickened to a loose syrup consistency.