TORONTO -- A rare off night by the offense left the New York Yankees back-to-back losers for the first time in more than a month.
"We needed that one," Galvis said
New York failed to score at least four runs for the first time in 15 games, a streak that began May 19. The Yankees went 1 for 12 with runners in scoring position and left 11 on base.
"We weren't able to score enough," manager Aaron Boone said.
Toronto closer Ken Giles struck out Gleyber Torres with two on in the ninth to wrap his 11th save, and Eric Sogard had three hits as the Blue Jays won for the first time since beating San Diego on May 26. Toronto went winless on a six-game trip to Tampa Bay and Colorado.
"It's a lot better when we win," Blue Jays pitcher Clayton Richard said. "It's a lot more fun. We can listen to music and have a good time together."
The Blue Jays scored just three total runs in their final two losses in Colorado, but they topped that with a four-run fifth against right-hander Masahiro Tanaka.
Tanaka (3-5) lost his second straight start, allowing four runs and six hits in six innings.
"The home run ball hurt him on a couple of hanging sliders," Boone said. "That was kind of the difference tonight."
Daniel Hudson (4-2) pitched 1 1/3 innings and Giles got the final four outs.
Frazier opened the scoring with a two-run drive off left-hander Clayton Richard in the fourth, his 11th. Earlier in the day, Frazier expressed a mix of defiance and remorse in his first public comments since three defensive mistakes in the last innings of a loss to Boston last weekend.
Frazier said his homer "felt good," and was "much-needed," but denied using the discussion around him as fuel.
"I don't need motivation through articles that are written," he said.
Grichuk halved the deficit with a leadoff drive in the fifth, his 10th.
Cavan Biggio followed with a walk and was initially ruled out on an attempted steal of second, but the call was overturned following a video review. One batter later, Galvis gave the Blue Jays the lead with his ninth home run. He is blast snapped an 0-for-16 slump.
Sogard hit a two-out double and made it 4-2 when he scored on a base hit by Vladimir Guerrero Jr.
"Any time you beat teams like that, they're big wins," Blue Jays manager Charlie Montoyo said. "You have to play your A-game and we did tonight."
Hicks homered off Joe Biagini in the eighth, his second.
Guerrero has at least one hit in five straight games and is batting .368 (7 for 19) in that span.
Yankees: C Gary Sanchez remained in the game after being struck on the left arm by a bat in the second. ... OF Giancarlo Stanton (left biceps strain, left shoulder) got nine at-bats in a simulated game and went through running drills at the team's minor league complex in Tampa, Florida. Stanton played catch and fielded grounders in right field with Aaron Judge, who has been sidelined since April 21 by a strained left oblique. ... RHP Luis Severino (right shoulder) made 50 throws from 60 feet Monday is expected to do the same Wednesday. There's no date for Severino to throw off the mound. ... RHP Dellin Betances (right shoulder) is expected to face live hitters in Tampa on Wednesday.
Blue Jays: LHP Tim Mayza (nerve issue in his left elbow) was activated off the 10-day injured list. He takes the place of RHP Justin Shafer, who was optioned to Triple-A Buffalo Monday. ... LHP Zac Rosscup cleared waivers Monday and elected free agency.
Yankees: LHP James Paxton (3-2, 2.81) is 3-1 with a 4.01 ERA in four career starts in Toronto. He pitched a no-hitter for Seattle at Rogers Centre on May 8, 2018.
Blue Jays: RHP Trent Thornton (1-4, 4.53) makes his first career start against the Yankees. Thornton has not earned a decision in his past three outings.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
'I don't hold grudges': How Nolan Arenado and Kris Bryant are moving forward from trade rumors
After a winter of speculation that they could be on the move, two superstar third basemen opened camp with their old teams. That's where the similarities end.
MLB Stock Watch: Where all 30 teams stand as spring training games begin
After all the heat off the diamond, we've finally got action on it, with a look at a key issue each team will sort out on the field.
Pirates' Pablo Reyes suspended 80 games for positive PED test
The Pittsburgh Pirates' Pablo Reyes was suspended 80 games on Wednesday under the major league drug program following a positive test for the performance-enhancing drug Boldenone.
Athletics' Mike Fiers doesn't want protection, 'can defend myself'
A's pitcher Mike Fiers said if opposing pitchers in NL parks "decide to throw at me, then they throw at me," adding that he can defend himself and that he doesn't need MLB to provide extra protection.
Aledmys Diaz, Jesus Aguilar, Brian Goodwin win salary arbitration cases
Houston infielder Aledmys Diaz, Miami first baseman Jesus Aguilar and Angels outfielder Brian Goodwin all won their salary arbitration cases Wednesday, cutting the teams' advantage to 6-4 in decisions this year with three cases remaining.
Cubs' David Ross to use slugger Kris Bryant as leadoff man
Slugger Kris Bryant will be the Cubs' leadoff hitter this season, manager David Ross announced Wednesday.