NEW YORK — Rookie Tyler Austin hit a solo homer in the bottom of the ninth inning to give the New York Yankees their season-high fifth straight victory, 5-4 over the Tampa Bay Rays on Thursday night.

Brian McCann hit two homers for the Yankees, who moved a season-high nine games over .500 (74-65).

Austin homered off Erasmo Ramirez (7-11) on a 3-2 pitch for his third homer since being called up Aug. 13.

New York moved within two games of Baltimore for the second AL wild card and four games of AL East-leading Boston.

Tommy Layne (2-1) entered and struck out pinch-hitter Logan Morrison to end the ninth.

The Rays got two homers each from Kevin Kiermaier and Steven Souza Jr.

MARINERS 6, RANGERS 3

SEATTLE — Kyle Seager hit a two-run homer and Dae-Ho Lee added a solo shot as Seattle handed Texas its fourth loss in five games.

Taijuan Walker (5-10), who lasted just two-thirds of an inning in his previous start, shook off two game-opening walks to finish five innings, giving up three runs and seven hits to win for the first time in six starts.

Evan Scribner and Nick Vincent combined for three scoreless innings and rookie Edwin Diaz pitched a perfect ninth for his 13th save in 14 chances.

Derek Holland (7-7) allowed four runs and 10 hits in 4 1/3 innings, walking three and striking out five. Despite the loss, Texas still leads the AL West by 8 1/2 games.

Seager’s home run off Jake Diekman, his career-high 27th, put the Mariners up 6-3 in the seventh.

PADRES 14, ROCKIES 1

SAN DIEGO — Ryan Schimpf hit a three-run homer and tied a career-high with four RBIs and Clayton Richard pitched seven scoreless innings for San Diego.

Schimpf, a rookie second baseman, hit his 18th home run of the season, all coming since July 1.

Richard (2-3) was sharp as he scattered six hits, walked two and had eight strikeouts.

Keith Hessler and Brandon Morrow pitched the final two innings. Cristhian Adames spoiled the shutout with a one-out homer in the ninth off Morrow.

Every position player in the Padres’ starting lineup had a hit. Travis Jankowski, Yangervis Solarte, Alex Dickerson and Schimpf had two each. Derek Norris added a two-run homer in the eighth.

Jeff Hoffman (0-3) lasted 2 2/3 innings, allowing seven unearned runs, six hits and two walks.

PIRATES 4, REDS 1

PITTSBURGH — Ivan Nova pitched a six-hitter to stay unbeaten with Pittsburgh and Jung Ho Kang hit a two-run double to key a three-run first inning as the Pirates extended the Reds’ losing streak to five games.

Nova (12-6) pitched his second complete game in seven starts since being acquired from the New York Yankees in a trade on Aug. 1. He struck out four, walked none, got 15 of his outs on ground balls and retired the first 12 batters while throwing 94 pitches.

Nova improved to 5-0 with a 2.53 ERA in seven starts with the Pirates. He has issued just two walks in 46 2/3 innings.

Kang’s double opened the scoring and he came home on a single by Francisco Cervelli as the Pirates took an early 3-0 lead against Dan Straily (11-8).

The Pirates, still on the fringe of the National League wild card race, won their second straight following an eight-game losing streak.

PHILLIES 4, NATIONALS 1

WASHINGTON — Ryan Howard hit a three-run homer and, Alec Asher pitched six innings of two-hit ball coming off a suspension for Philadelphia.

Peter Bourjos homered for the Phillies, who have won three of four.

Asher (1-0), who earned his first major league victory, was suspended for 80 games while on the disabled list with Triple-A Lehigh Valley in June after a positive drug test. He made four minor league appearances beginning in late August and his suspension ended Sept. 4.

The right-hander walked one without a strikeout.

Jeanmar Gomez pitched the ninth inning for his 36th save.

A.J. Cole (1-2) allowed four runs and five hits in five innings. He struck out eight without a walk.

BREWERS 12, CARDINALS 5

ST. LOUIS — Domingo Santana and Orlando Arcia hit back-to-back homers as Milwaukee continued its recent road dominance.

Hernan Perez had four hits and three RBIs for the Brewers, who won their season-high fifth straight on the road and have won seven of their last eight games.

The Cardinals fell to 30-38 at home and dropped a half game behind the idle New York Mets for the second wild card spot.

Santana and Arcia connected on consecutive pitches in the second inning. It was the seventh time Milwaukee hit back-to-back homers this season.

Arcia had three hits and raised his average to .367 over his last 15 games.

Brewers right-hander Junior Guerra (8-3) needed 74 pitches to get through five innings in his second start back from the disabled list. It was his first career win against St. Louis in three tries.

Jaime Garcia (10-12) struggled for the fourth time in his last five starts, losing a career-high fourth straight decision.

INDIANS 10, ASTROS 7

CLEVELAND — The Indians scored two runs on a controversial bases-loaded wild pitch by David Paulino in the third inning that led to the ejection of Houston manager A.J. Hinch.

Cleveland led 2-1 when Lonnie Chisenhall attempted to check his swing on a pitch in the dirt. The ball bounced away from catcher Jason Castro and rolled toward the on-deck circle near the Indians dugout.

Play was allowed to continue, although replays showed Chisenhall fouled off the pitch. All three runners — Francisco Lindor, Mike Napoli and Jose Ramirez — crossed the plate.

Hinch protested the ruling and was ejected by plate umpire Jim Joyce. After a video review, Lindor and Napoli were allowed to score for a 4-1 lead, and Ramirez was placed at second.

Trevor Bauer (11-6) allowed five runs and seven hits in five innings. Cody Allen, Cleveland’s fifth reliever, struck out two in a perfect ninth for his 26th save.

Making his first major league start, Paulino (0-1) gave up four runs and four hits in three innings.