Miguel Cabrera drove his 33rd home run of the season off the top of the railing on the wall in deep left center to break a 6-6 tie with one out in the seventh inning and lead Detroit over Minnesota 9-6.

The win went to Shane Greene after a scoreless seventh. Bruce Rondon worked the eighth and Francisco Rodriguez gained his 42nd save after a run-free ninth.

Detroit added two unearned runs in the eighth. James McCann reached on a passed ball charged to Kurt Suzuki while striking out. He was bunted to second, stopped at third on a single to left by Jose Iglesias and scored on a bloop single to center by Ian Kinsler, his fourth hit of the game. Iglesias scored on reliever Michael Tonkin's wild pitch.

Cubs 7, Cardinals 0

Jon Lester continued his remarkable late-season run and pushed the Chicago Cubs to the brink of the National League Central title.

Lester allowed three hits over eight innings and knocked in the game's first run to lead Chicago to a 7-0 win over the St. Louis Cardinals on Wednesday at Busch Stadium.

Lester (17-4) walked one, struck out eight and faced just two batters over the minimum. It was the sixth consecutive start in which Lester has allowed zero or one run.

The Cubs (93-52) clinched at least a tie for the division title and can pop the champagne Thursday night with a victory over Milwaukee at Wrigley Field. It will be their first division championship since 2008.

Orioles 1, Red Sox 0

BOSTON -- Mark Trumbo's towering solo home run in the second inning proved to be the difference for Baltimore at Fenway Park.

Trumbo's blast was his major-league-leading 42nd and his first since a Sept. 2 solo shot against the Yankees. His previous career high in homers was 34.

Orioles starter Kevin Gausman (8-10) outdueled 20-game winner Rick Porcello, tossing eight scoreless innings while allowing four hits and one walk. Zach Britton shut down the Red Sox in the ninth to convert his 43rd straight save opportunity to start the year, a major league record for a left-handed pitcher.

Rays 8, Blue Jays 1

TORONTO -- Corey Dickerson belted a home run and had four RBIs, Kevin Kiermaier also went deep and Alex Cobb won for the first time in nearly two years as Tampa Bay defeated Toronto.

Cobb (1-0), who was making his third start since returning from Tommy John surgery, allowed one run, two hits and three walks in 6 2/3 innings. The right-hander struck out four in winning for the first time since Sept. 2, 2014.

The Rays (62-83) won the rubber match of the three-game series and took the season set 11-8 from the skidding Blue Jays (79-66), who are 3-9 in September.

Nationals 1, Mets 0

WASHINGTON -- Tanner Roark threw seven scoreless innings and Wilson Ramos belted a homer with one out in the seventh as Washington beat New York.

The second-place Mets are now 10 games back of the first-place Nationals (87-59) with 16 games left. The magic number for Washington to clinch the National League East is seven.

Ramos, showing signs of life after a long slump, hit the first pitch he saw from reliever Fernando Salas into the seats in center for his 21st homer of the season. Roark gave up three hits with seven strikeouts and four walks as he went seven scoreless innings for the ninth time this year.

Dodgers 2, Yankees 0

NEW YORK -- Clayton Kershaw retired the first 12 hitters he faced but had his second start since returning from a back injury halted by a second rain delay, and Justin Turner produced the tiebreaking double with none out in the top of the ninth inning for Los Angeles.

Corey Seager opened the ninth against Dellin Betances when his one-hopper went off Starlin Castro's glove for an error. Seager stole second before Turner doubled down the left field line. Turner eventually then scored the second run on a throwing error by Betances.

Kershaw needed only 44 pitches to get through the first four innings, which were interrupted by a 12-minute rain delay after the top of the fourth. He wound up allowing one hit in five innings.

Phillies 6, Pirates 2