The Rays trailed 3-2 heading into the seventh, but sent 10 men to the plate in that inning and wound up leaving the bases loaded after scoring four runs.
Roberts and Zobrist had back-to-back, two-run singles in the inning, boosting the Rays to their third straight victory. San Diego had won four in a row, equaling its longest such streak of the season.
Jake McGee (1-2) picked up the victory in relief by working a perfect top of the seventh prior to the Rays' comeback. Fernando Rodney came on in the ninth to claim his fifth save.
Dale Thayer (0-2) took the loss by becoming the victim of the Rays' outburst in the seventh. Thayer did not retire a batter in the inning.