Betts finished with five RBIs for the Red Sox, who established a season high with their 10th consecutive victory.
Boston starter David Price (10-6) bounced back from a pair of subpar starts to toss 6 2/3 innings of three-run ball. Price struck out eight, gave up six hits and walked none to become Boston's fourth 10-game winner this year.
The Blue Jays fell to 2-8 against the Red Sox this season. Boston moved 37 games over .500 this season, a feat it last achieved in 1949.
Yankees 7, Indians 4
Aaron Hicks hit a tiebreaking double off Corey Kluber with one out in the eighth inning, and New York won at Cleveland.
Brett Gardner homered twice for the Yankees, and Didi Gregorius also went deep.
Pirates 6, Brewers 3
Jesus Aguilar hit his National-League leading 24th homer for the Brewers, who lost for the fourth time in six games.
Taillon (6-7) gave up one run on four hits and walked two in six innings for Pittsburgh, which has won four of its past five games.
Athletics 6, Astros 4
Mark Canha deposited a two-run single down the left field line in the eighth inning as Oakland capped another three-run rally and earned a series victory at Houston.
The Athletics scored three runs off Chris Devenski (2-2) in the eighth to complete the comeback they started with a three-run fifth inning against Charlie Morton. Oakland claimed the four-game series with the victory, its 19th in 24 games.
Nick Martini had three hits and two RBIs for the A's. Tony Kemp homered for the Astros.
Rockies 5, Diamondbacks 1
Trevor Story homered, Gerardo Parra and Raimel Tapia had pinch-hit RBI singles in a three-run sixth inning, and Colorado beat Arizona in Denver.
Paul Goldschmidt and Steven Souza Jr. had two hits each for the Diamondbacks.
Kyle Freeland pitched 5 1/3 innings of one-run ball for the Rockies. Scott Oberg got two outs to earn the win.
Phillies 5, Orioles 4
Jorge Alfaro homered and drove in three runs, and Nick Pivetta gave Philadelphia a strong start in a win at Baltimore.
Alfaro finished 3-for-4 with the three RBIs. He wound up a triple short of the cycle in the game, which was a makeup of a postponed matchup in May.
Pivetta (6-7) bounced back from two straight poor starts and did not allow a hit until the fifth inning. He lasted 6 2/3 innings and gave up three runs on five hits and a walk with seven strikeouts.
Nationals 5, Mets 4
Anthony Rendon hit two homers, though it was Bryce Harper's two-run shot in the seventh inning that proved to be the difference as Washington won at New York.
The Nationals posted their fifth victory in eight games. The Mets have lost five of seven and 33 of their last 45.
Max Scherzer (12-5) got the win after allowing three runs on five hits and two walks while striking out five over seven innings.
--Field Level Media