Preheat the oven to 350 degrees. Line a sheet pan with parchment. Place the quartered tomatoes and onions on the pan. Sprinkle with the salt, pepper, thyme, oregano, garlic, and oil. Mix everything together to evenly coat the tomatoes and onions. Arange the tomatoes skin side down and roast in the oven for 2 hours, rotating halfway through.