Wash the Roma tomatoes, remove the cores, and chop them into small pieces.
Finely chop the yellow onion and mince the garlic, keeping them separate.
Warm the extra virgin olive oil in a large, wide pan over medium heat until it shimmers.
Add the onion and cook for 5 to 7 minutes, stirring often, until soft and translucent.
Stir in the garlic and cook for 30 seconds to 1 minute, just until fragrant.
Add the chopped tomatoes, salt, sugar, and black pepper. Stir well and bring to a gentle simmer.
Reduce the heat to low, cover loosely, and cook for 40 to 45 minutes, stirring every 10 minutes, until thick, deep red, and glossy.
For a silky sauce, blend with an immersion blender; for a rustic sauce, leave as is.
Stir in the sherry vinegar, taste, and adjust the salt and sugar. Serve warm, or cool and store for later.