MIAMI -- Giancarlo Stanton wasn't happy with his fielding error in the seventh inning, which helped the Texas Rangers tie the game.
Stanton wanted to make up for his blunder in right field, but walked the next two at-bats before hitting an RBI single on a 1-2 count with with two outs in the 10th inning and the Miami Marlins beat the Texas Rangers 4-3 Tuesday night for their third straight win.
"I didn't like the sliders that were called so I was already fired up about that, I knew that we were in extra innings because of me so I was already fired up about that, so when I saw (Neftali Feliz) dragging in I was just like, 'You put us in this situation, just make sure you're calm and collected and get us out,"' Stanton said.
Miami (63-62) surpassed last year's total of 62. The Marlins moved over .500 for the first time since June 20.
Jeff Baker reached with one out in the 10th on first baseman Mike Carp's error. Donovan Solano's infield single with two outs moved Baker to second.
Neftali Feliz relieved Neal Cotts (2-7) to face Stanton, who singled to right field.
"We had the right guy there and he had a heck of an at-bat and hit a bullet to right," Marlins manager Mike Redmond said.
Sam Dyson (2-0) struck out the side in the 10th.
Marcell Ozuna hit his 17th home run and Christian Yelich had three hits for the Marlins.
The Rangers scored twice in the seventh to tie it at 3. Rougned Odor opened with a double off the right-field wall and when Stanton misplayed it for an error, Odor circled the bases. Mike Dunn later walked pinch-hitter Daniel Robertson with the bases loaded.
Texas threatened in the ninth with Elvis Andrus on third base and one out, but he got caught off the bag when Robertson pulled back on a potential squeeze bunt.
"The pitch had nothing to do with it," Robertson said. "The manager makes the call--calls a squeeze--you've got to get it down. If you have to dive, dive. If you have to jump, jump. You've got to get it down."
The Rangers were 1 for 10 with runners in scoring position.
"That's what we definitely have to get better on, driving in runs when they're out there," Rangers manager Ron Washington said. "We put ourselves in position but we just don't cash them in."
Marlins starter Jarred Cosart allowed one run and six hits in six innings.
Texas starter Miles Mikolas pitched five innings, allowing three runs and eight hits. He struck out six.
Robinson Chirinos' RBI groundout gave the Rangers a 1-0 lead in the fourth. Ozuna's home run tied it in the bottom half.
The Marlins took a 3-1 lead in the sixth on an RBI single by Jarrod Saltalamacchia and a sacrifice fly by Adeiny Hechavarria.
Rangers: Washington was hopeful that RHP Yu Darvish (right shoulder inflammation) would be able to return from the disabled list on Aug. 25, but that appears unlikely as Darvish has not picked up a baseball yet. "I'm backing off," Washington said. "I don't know what's going to happen. I guess we'll just have to wait and see." ... RF Alex Rios was scratched from the starting lineup with a bruised right thumb, but came into the game in the ninth inning.
Marlins: LHP Dan Jennings (concussion) threw one scoreless inning in his first rehab assignment with Gulf Coast League Marlins on Tuesday. "Everything went good so I think the plan for him is to throw a couple innings in his next outing in the next couple of days," Redmond said.
Miami native Nick Martinez (2-9, 5.27) will start for the Rangers on Wednesday afternoon against Marlins RHP Nathan Eovaldi (6-7, 3.96).
The Marlins' Casey McGehee broke his bat over his right knee after striking out in the bottom of the eighth with two runners left on base.
"I wish I wouldn't have done it," McGehee said. "I was just frustrated. Obviously it was a big spot in the game. I just really wasn't happy with the at-bat I put out there. At the end of the day I've got to be a little bit more grown-up than that."
RETURN TO FLORIDA
Mikolas, who grew up in nearby Jupiter and played at Nova Southeastern University, had a number of friends and family members in attendance.
"It was great, friends and family came out," Mikolas said. "All my coaches and teammates from back at Nova came, my high school coach, my high school teammates. It was fun to know that they were out there.