Garrett Cooper hit his first major league home run in the sixth inning, and that was the start of an impressive comeback by the Miami Marlins, who rallied for their fifth straight victory, 6-3 over the Detroit Tigers on Wednesday night.

The Tigers led 3-0 before Cooper's solo shot. The Marlins then scored three runs in the seventh, and Brian Anderson added a two-run homer in the eighth.

Detroit has dropped eight in a row — and Sunday's game was suspended with the Tigers trailing Oakland in the seventh inning.

Miami Marlins' Garrett Cooper celebrates his solo home run during the sixth inning of the team's baseball game against the Detroit Tigers in Detroit, Wednesday, May 22, 2019. (AP PhotoPaul Sancya)

Miami Marlins' Garrett Cooper celebrates his solo home run during the sixth inning of the team's baseball game against the Detroit Tigers in Detroit, Wednesday, May 22, 2019. (AP PhotoPaul Sancya)

Detroit starter Daniel Norris was solid, but with the Tigers up 3-1, he gave up a single to Harold Ramirez to start the seventh. Buck Farmer (2-3) relieved him and allowed a single to Martin Prado. Then Neil Walker hit a two-run double to tie it.

One out later, Miguel Rojas put Miami ahead to stay with an RBI single. Anderson made it a three-run game with his home run in the eighth.

José Ureña (2-6) allowed two earned runs in six innings for the Marlins. Austin Brice pitched a scoreless seventh, retiring Miguel Cabrera on a weak grounder with men on first and third for the final out. Tayron Guerrero handled the eighth, and Sergio Romo pitched a perfect ninth for his eighth save in nine chances.

Miami Marlins pitcher Jose Urena throws to a Detroit Tigers batter during the first inning of a baseball game in Detroit, Wednesday, May 22, 2019. (AP PhotoPaul Sancya)

Miami Marlins pitcher Jose Urena throws to a Detroit Tigers batter during the first inning of a baseball game in Detroit, Wednesday, May 22, 2019. (AP PhotoPaul Sancya)

Detroit scored a run in each of the first three innings. Niko Goodrum hit an RBI single, Gordon Beckham drove in a run with a groundout, and Christin Stewart added a run-scoring double.

PREGAME ANTICS

Detroit left-hander Daniel Stumpf and Miami righty Sandy Alcantara had a playful standoff before the game, standing several feet in front of their respective dugouts and not budging. With the game about to start, an umpire eventually went over and got Alcantara to vacate his spot, and Stumpf did so, as well.

Detroit Tigers pitcher Daniel Norris watches a pitch to a Miami Marlins batter during the first inning of a baseball game in Detroit, Wednesday, May 22, 2019. (AP PhotoPaul Sancya)

Detroit Tigers pitcher Daniel Norris watches a pitch to a Miami Marlins batter during the first inning of a baseball game in Detroit, Wednesday, May 22, 2019. (AP PhotoPaul Sancya)

TRAINER'S ROOM

Marlins: Something appeared to be bothering Romo on the mound during the game's final batter. Manager Don Mattingly went out to check on him, but Romo remained in the game.

UP NEXT

Marlins: Trevor Richards (1-5) starts for Miami in Thursday's series finale.

First base umpire D.J. Rayburn tells Miami Marlins pitcher Sandy Alcantara to leave the field before the first pitch of the team's baseball game against the Detroit Tigers in Detroit, Wednesday, May 22, 2019. Alcantara stood with equipment on after national anthem until he was asked to leave the field. (AP PhotoPaul Sancya)

First base umpire D.J. Rayburn tells Miami Marlins pitcher Sandy Alcantara to leave the field before the first pitch of the team's baseball game against the Detroit Tigers in Detroit, Wednesday, May 22, 2019. Alcantara stood with equipment on after national anthem until he was asked to leave the field. (AP PhotoPaul Sancya)

Tigers: Matthew Boyd (4-4) takes the mound for Detroit. Boyd has a 3.41 ERA and an impressive 1.01 WHIP on the season.

Follow Noah Trister at www.Twitter.com/noahtrister

More AP MLB: https://apnews.com/MLB and https://twitter.com/AP_Sports