Giancarlo Stanton started his day at Marlins Park by getting doused by a fan with ice water to raise money for charity.

He ended it Tuesday night by receiving a celebratory shower from his teammates.

Stanton’s two-out line drive single to right field in the bottom of the 10th inning off Neftali Feliz plated Jeff Baker with the winning run and lifted the Marlins to their 11th walk-off win of the season, a 4-3 victory over the visiting Texas Rangers in front of 20,277 at Marlins Park.

It was Stanton's second walk-off hit of the season and pushed the Marlins (63-62) over .500 for the first time since they were 37-36 back on June 20. It also turned out to be sweet redemption for Stanton, who had an embarrassing slip up in right field that led to a run when the Marlins blew a two-run lead in the seventh.

“I knew we were in extra innings because of me so I was already fired up about that,” Stanton said. “When I saw him dragging in I was like, 'You put us in this situation make sure you're calm and collected and get us out.’ I got the two strikes there and he tried to sneak a fastball away. I made a good swing, hit it deep to right field.”

The extra inning victory was Miami’s ninth of the season and marked the 21st time they’ve won in their last at-bat.

With another game against the team with the worst record in the American League still on tap Wednesday afternoon, and three scheduled against the worst team in the National League beginning this weekend in Colorado, this is prime time for the Marlins to pick up ground in the playoff race. They entered the day 3 ½ games back of the Giants for the second wild card spot.

Of course, the Marlins made beating the lowly Rangers harder than it needed to be Tuesday.

They stranded 13 base runners in all and left runners in scoring position in the first, third, fourth, sixth, seventh and eighth innings. Reliever Phil Klein struck out Adeiny Hechavarria to end the seventh with the bases loaded.

Shawn Tolleson then struck out Casey McGehee to swing and miss with the go-ahead run on second in the eighth. A frustrated McGehee, who finished 0-for-5 for only the second time this season, broke his bat over his right knee in frustration.

“Sometimes you just got to blow off some steam,” McGehee said.

Miami had a 3-1 lead until A.J. Ramos and Mike Dunn coughed it up in the seventh. The inning started with a bang, slip and a flop.

Rougned Odor doubled high off the right field wall and then came all the way around to score when Stanton slipped and the ball got away from him in embarrassing fashion.