Toronto Blue Jays' Russell Martin watches his two-run home run off Tampa Bay Rays relief pitcher Kevin Jepsen during the eighth inning of a baseball game, Sunday, Sept. 4, 2016, in St. Petersburg, Fla. (AP Photo/Chris O'Meara)
Toronto Blue Jays' Russell Martin watches his two-run home run off Tampa Bay Rays relief pitcher Kevin Jepsen during the eighth inning of a baseball game, Sunday, Sept. 4, 2016, in St. Petersburg, Fla. (AP Photo/Chris O'Meara) Credit: Chris O'Meara

St. Petersburg, Fla. — Russell Martin hit a tiebreaking two-run homer in the eighth inning to help the Toronto Blue Jays overcome a poor start by 17-game winner J.A. Happ and avoid a three-game sweep by beating the Tampa Bay Rays 5-3 on Sunday.

Martin hit his 17th homer on a 3-0 pitch from Kevin Jepsen (2-6). He has gone deep nine times and driven in 24 runs over his last 18 games.

Happ was up to 85 pitches when he was pulled by manager John Gibbons after Corey Dickerson’s RBI single put the Rays up 3-1 with two outs in the third.

Angels 4, Mariners 2

Seattle — Los Angeles starter Matt Shoemaker was hospitalized after taking a line drive to the head.

Shoemaker was hit on the right side of his head with one out in the second inning on a 105 mph line drive from Kyle Seager. Shoemaker was able to turn his head slightly to avoid a direct blow to his face but was unable to get his mitt up in time.

After the game, the Angels announced that a CT scan revealed Shoemaker suffered a small skull fracture and small hematoma. He was to be seen by a neurologist and remain in Seattle overnight for observation.

Albert Pujols and C.J. Cron hit back-to-back home runs in the first inning and six Angels relievers combined to shut down the Mariners. Deolis Guerra (3-0) was the first to enter, and Andrew Bailey worked the ninth for his first save since 2013 with Boston.

Cardinals 5, Reds 2

Cincinnati — Randal Grichuk and Kolten Wong homered, Carlos Martinez carried a shutout into the seventh inning and St. Louis Cardinals snapped a three-game losing streak with a win over Cincinnati.

Yadier Molina had two of the Cardinals’ five hits as they avoided being swept in Cincinnati for the first time since July 2012.

St. Louis, which turned four double plays, began the day with a one-game lead over the Mets for the final NL playoff spot.

Yankees 5, Orioles 2

Baltimore — Chase Headley and Austin Romine had two RBIs apiece, and New York beat Baltimore to prevent a three-game sweep and remain afloat in the AL wild-card race.

With five rookies in the starting lineup, the Yankees closed within 3½ games of the Orioles and Tigers for the league’s final playoff spot.

Luis Severino (2-8) pitched two strong innings of relief and Dellin Betances, the fifth New York reliever, got four outs for his eighth save.

Cubs 3, Giants 2 (13)

Chicago — Jason Heyward hit a tying single in the ninth inning and a game-winning single in the 13th as Chicago took three of four from San Francisco in a possible playoff preview.

Anthony Rizzo singled leading off the 13th against Matt Reynolds (0-1) and went to second on Ben Zobrist’s sacrifice. Addison Russell, who had three hits, was walked intentionally before Heyward drove in his third run of the game.

Trevor Cahill (4-4) worked a perfect inning in a series in which all four games were decided by one run.

Indians 6, Marlins 5

Cleveland — Lonnie Chisenhall capped a three-run rally with a two-out RBI single in the ninth inning against Fernando Rodney, leading Cleveland over Miami.

Chisenhall’s hit dropped in front of a sliding Ichiro Suzuki in right field and scored pinch-runner Michael Martinez, giving the AL Central leaders their sixth straight win.

Astros 7, Rangers 6

Arlington, Texas — George Springer and Evan Gattis homered to help Houston avoid a series sweep and snap Texas’ seven-game winning streak.

Springer led off the game with his 26th homer, and Houston built a 5-0 lead before Yu Darvish (5-4) was lifted after four innings. Gattis hit his 24th homer in the fifth for a 6-2 lead.

Brewers 10, Pirates 0

Pittsburgh — Domingo Santana had his first two-homer game, pinch-hitter Jonathan Villar delivered his first grand slam and Chris Carter connected for his 32nd home run as Milwaukee completed a three-game sweep and handed Pittsburgh its sixth straight loss.

The Pirates’ skid follows a four-game sweep at Milwaukee last weekend, and has dropped them 3½ games behind St. Louis for the second NL wild card. The Pirates host the Cardinals in a three-game series beginning today.

Dodgers 7, Padres 4

Los Angeles — Jose De Leon struck out nine while winning his major league debut, pinch-hitter Yasmani Grandal drove in three runs, including a go-ahead single in the fifth inning, and Los Angeles rallied to beat San Diego.

De Leon (1-0) gave up four runs and six hits in six innings and didn’t issue a walk. The right-hander struck out the side in the sixth.

Tigers 6, Royals 5

Kansas City, Mo. — Justin Upton hit a two-run homer with two outs in the eighth inning, sending Detroit past Kansas City.

Upton also doubled home J.D. Martinez in the second. Upton has seven homers and 18 RBIs in his last 14 games.

White Sox 13, Twins 11 (12)

Minneapolis — Jose Abreu hit two three-run homers and drove in a career-best seven runs, and Chicago used Tim Anderson’s two-run double in the 12th inning to get a wild win over Minnesota.

Abreu, Anderson and Melky Cabrera had three hits apiece, helping the White Sox overcome four homers by the Twins. The teams combined for 18 home runs while splitting the four-game series.

Braves 2, Phillies 0

Philadelphia — Julio Teheran pitched six sharp innings, Matt Kemp homered and last-place Atlanta beat Philadelphia for its sixth consecutive win.

Teheran (5-9) allowed five hits and struck out seven while lowering his ERA to 3.01. Jim Johnson worked the ninth for his 15th save, finishing a five-hitter.

Diamondbacks 8, Rockies 5

Denver — Socrates Brito snapped a seventh-inning tie with a three-run homer, and Arizona held off a late rally to beat Colorado.

Archie Bradley (6-8) scattered six hits over six innings and Jean Segura had three hits in his return to the lineup for the Diamondbacks.

Mets 5, Nationals 1

New York — Seth Lugo kept pitching like a playoff-tested ace rather than a rookie, Curtis Granderson and Jay Bruce each hit a two-run homer and New York beat Washington.

The Mets won for the 11th time in 15 tries and stayed within one game of St. Louis for the second NL wild-card slot. They didn’t have much time to savor the victory — they hurried to Cincinnati for a 1:10 p.m. Monday holiday start.

Lugo (3-2) limited the NL East leaders to one run and six hits in seven innings, walking none and striking out four. The 26-year-old righty has won three straight starts, permitting a total of three runs, to help rejuvenate an injury-plagued rotation.