Updated

Scott Cousins stroked a go-ahead RBI triple in the top of the 15th inning, propelling the Marlins to a 4-3 victory over the Rays in the middle test of a three-game set at Tropicana Field.

Justin Ruggiano smacked a one-out double in the top of the 15th to start the rally and came around to score on Cousins' triple to right field off of Rays reliever Brandon Gomes (1-2).

Ryan Webb (3-1) got the victory after firing three scoreless innings in relief, while Heath Bell struck out the side in the bottom of the 15th to record his 14th save of the season.

"Every time you play a game like that, 14, 15, 16 innings, whatever it is, and you come out with a win, people come out of the ballpark very excited and ready for the next day," Marlins manager Ozzie Guillen said.

Jose Reyes knocked in two runs and scored once while Cousins finished with three hits to help the Marlins snap an eight-game skid against Tampa Bay.

Jose Molina belted a solo blast and plated a pair in the setback as the Rays lost for the fourth time in their last five games.

"We hit a lot of balls well in moments that were just outs with people in scoring position," Rays manager Joe Maddon said. "It just didn't want to work for us tonight."

Molina's homer gave the home team a 3-2 edge in the fifth but the Rays tied the game in the seventh as Miami starter Anibal Sanchez gave up a leadoff single to Carlos Pena before striking out Elliot Johnson for the first out of the frame.

Steve Cishek then entered and got Molina to pop out before serving up a game- tying RBI triple to Sean Rodriguez to knot the game at 3-3.

Earlier, Miami jumped on a Rays mistake in the first as Reyes singled to start the game, moved to second on a groundout and came around to score on third baseman Rodriguez's throwing error on a groundball from Giancarlo Stanton.

The Marlins pressed the lead to 3-0 in the second as Gaby Sanchez reached on an error before moving to third on a ground-rule double from Cousins.

Reyes then slapped a single up the middle that deflected off Johnson's glove at shortstop as Gaby Sanchez and Cousins scored to make it a three-run game.

The Rays got one back in the third when Johnson stroked a leadoff triple and quickly scored on a base hit from Molina.

Game Notes

Sanchez allowed three runs on four hits and three walks, while striking out six over 6 1/3 innings...Rays starter James Shields went 7 2/3 innings in the start and was charged for three unearned runs on eight hits and a walk with five strikeouts. He threw a season-high 124 pitches with 86 falling in for strikes..It was Miami's longest game since a 20- inning affair on April 27, 2003, which they lost 7-6 against St. Louis...Miami placed pitcher Sandy Rosario on the 15-day disabled list with a right quad strain.