The victory gave the Rays the rubber match in the three-game series after the Blue Jays won in 10 innings Saturday.
Right-hander Sergio Santos, promoted from Triple-A Buffalo for the game, walked right fielder Ben Zobrist to open the 10th. Zobrist took third when Logan Forsythe doubled down the right-field line, a ball that eluded Nolan Reimold, who was in the game because right fielder Jose Bautista was ejected in the sixth inning.
Longoria singled to left to score Zobrist.
The Blue Jays put runners on second and third with no outs in the bottom of the 10th but couldn't score the equalizer.
Phillies 7, Cardinals 1
PHILADELPHIA -- Jerome Williams continued his strong stretch since arriving in Philadelphia, picking up his second win in three starts.
A day after using all seven relievers in a 12-inning loss to the Cardinals, Williams gave his bullpen a much-needed day of rest, going eight innings while giving up just the one run, allowing five hits while striking out five and walking three.
The Phillies built up a 5-0 lead over the first three innings, with production coming throughout the lineup. All five runs were scored by different players, with four different batters picking up RBIs while one came in to score on a wild pitch by St. Louis starter Justin Masterson.
Brewers 4, Cardinals 3
MILWAUKEE -- Milwaukee, in danger of being swept at home by Pittsburgh for the first time since 2004 -- and hanging to a half-game lead in the National League Central -- snapped a three-game losing streak.
For the third straight day, the Brewers loaded the bases frequently against the Pirates.
But unlike their previous two games, in which they stranded 22 runners and went a combined 3-for-17 with runners in scoring position, the Brewers managed to cash in just enough against right-hander Vance Worley, who allowed 12 hits and a walk over 6 1/3 innings.
Yankees 7, White Sox 4 (10 innings)
NEW YORK -- Pinch hitter Brian McCann hit a three-run home run with two outs in the bottom of the 10th inning, and New York completed a three-game sweep.
Five weeks after his bloop single beat the Cincinnati Reds in the ninth, McCann batted for Francisco Cervelli after Carlos Beltran doubled and Chase Headley was walked intentionally by Jake Petricka.
McCann ended a seven-pitch at-bat by driving a full-count slider over the right field wall for his 15th home run. Upon reaching the plate, he was mobbed by his teammates, and he was given a Gatorade shower by Brett Gardner before reaching the dugout.
Cubs 2, Orioles 1
CHICAGO -- Tsuyoshi Wada took a no-hitter into the seventh inning and Arismendy Alcantara hit a solo home run as Chicago completed a weekend sweep.
After a two-out walk in the first inning, Wada retired 16 straight before giving up a home run to first baseman Steve Pearce to start the seventh, the only blemish against the 33-year-old Japanese rookie.
Wada exited two batters later, ending his day after 6 1/3 innings. Wada, who spent two seasons in the Orioles system prior to signing with the Cubs last December, recorded eight strikeouts to go along with the lone hit and walk.
Reds, 5, Braves 3
CINCINNATI -- Alfredo Simon pitched seven strong innings and Todd Frazier hit his 22nd homer, lifting Cincinnati.
It is the first two-game winning streak for Cincinnati since Aug. 5-6. The Reds are 12-24 since the All-Star break.
Atlanta failed to gain ground in the National League wild-card race after going 3-for-21 with runners in scoring position combined over the final three games of the series.