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
Twins pitcher Jake Odorizzi: Betting on self as 2020 free agent
Pitcher Jake Odorizzi said accepting the Twins' $17.8 million qualifying offer came down to "betting on myself and returning to a place I know very well and enjoyed."
Sources: Pirates hire Ben Cherington as new GM
The Pirates have hired Ben Cherington as the team's new general manager, according to multiple reports and confirmed by ESPN.
Trout on 3rd MVP: 'I always try to be the best player'
Mike Trout joins SVP after winning the American League MVP award and says it was special to be recognized as the league's best player for the third time.
Bellinger: Winning MVP 'means everything'
Cody Bellinger joins SportsCenter after being announced as the National League MVP and describes how special the award is to him and his family.
Angels' Mike Trout edges Astros' Alex Bregman for AL MVP
Angels center fielder Mike Trout became just the 11th player with at least three MVP awards when he was named the American League's MVP on Thursday. Trout edged Astros third baseman Alex Bregman for the award.
Yankees go high tech, turn to 34-year-old as new pitching coach
Drawn to his high-tech approach, the New York Yankees are turning to unproven 34-year-old Matt Blake as their new pitching coach after losing in the ALCS.