The Blue Jays lost for the fourth time in five games following their 11-game winning streak.
Boston produced 15 hits in winning its fourth straight game, but the Red Sox let a five-run lead slip away before regaining the advantage in the seventh.
Gomes came up to bat for Daniel Nava and drilled a 3-1 pitch to left that brought home Victorino with the go-ahead run. Jarrod Saltalamacchia followed by walking on five pitches to drive in the second run of the inning.
Boston shortstop Stephen Drew left the game in the fourth inning with tightness in his right hamstring that developed while legging out a two-run triple to center.
Lytro unveils camera that can focus a photo after shooting it
Easer Egg Roll brings thousands to White House