With the Blue Jays trailing 9-8 on a David Ortiz home run in the top of the inning, Boston closer Craig Kimbrel retired Edwin Encarnacion and Michael Saunders. But Justin Smoak singled on a line drive to center, and with Ezequiel Carrera pinch running for Smoak, Martin drove in his third run of the day on a double to tie the game.
After Martin advanced to third on a wild pitch, Travis forced third baseman Travis Shaw to stretch to corral a shot, and though he tried to throw Travis out at first, his throw was dropped by Hanley Ramirez and Martin scored.
The walk-off win was Toronto’s second of the season, the first coming against Texas on May 3, and completes the series win over the Red Sox, snapping a two-series home losing skid.
Martin hit his third home run in four games with a solo shot over the right-field wall in the sixth inning, while Xander Bogaerts and Shaw both had home runs for the Red Sox.
Ortiz’s 13th home run of the season and league-leading 46 RBI had seemed to be enough for the Red Sox, who watched an 8-4 lead disintegrate in the eighth inning as the Blue Jays rallied to tie the score.
Reliever Gavin Floyd (2-3), who gave up Ortiz’s shot, got the win, while Kimbrel (0-2), on his 28th birthday, was tagged with the loss.
Bogaerts, who went 3-for-5 with three runs, extended his hitting streak to a career-high 21 games with a homer off the top of the left-center-field wall in the fourth inning. The streak is the second longest in the majors this year, behind teammate Jackie Bradley Jr.’s 29-game run, which ended Thursday.
Ramirez drove in three runs, while Dustin Pedroia had a pair of doubles and two RBIs as he extended his hitting streak against Toronto to 22 games.
Boston starter Rick Porcello gave up four runs on seven hits while striking out five over 6 2/3 innings.
Marcus Stroman tied his shortest outing of the season, also against Boston, surrendering seven runs on 11 hits while striking out five. He was chased in the fifth inning with one out.
Blue Jays: SS Troy Tulowitzki (right quad) was placed on the 15-day DL. Tulowitzki, who is batting just .204 this season with eight home runs and 23 RBIs, had sat out two games this week with the injury. Ryan Goins and Darwin Barney are expected to split time at shortstop until the veteran returns. Toronto activated left-handed reliever Aaron Loup from the 15-day DL to take Tulowitzki’s place. Loup, who has yet to play this season, has been recovering from a forearm strain and just completed a rehab assignment with Triple-A Buffalo.
Red Sox: LHP David Price (7-1, 5.34) returns to a happy hunting ground Sunday. The former Blue Jay makes his first start of the season at Rogers Centre, where he is 11-1 in 15 career starts with a 3.34 ERA.
Blue Jays: RHP R.A. Dickey (2-6, 4.60) is 0-5 in his last eight starts against the Red Sox. He is looking for his first win against them since going 4-0 in 2014.