NEW YORK (AP) - Andrew Brown hit a two-run single with two outs in the 13th inning and the New York Mets put together a pair of late rallies to beat the Arizona Diamondbacks 5-4 on Monday night, handing the NL West leaders their fourth straight loss.
Hot-hitting Josh Satin tied it with an RBI single in the ninth off Arizona closer J.J. Putz. Cody Ross led off the 13th with a homer against David Aardsma (1-0), but the Mets fought back again against the Diamondbacks bullpen.
Satin doubled with one out off Josh Collmenter (4-1) and John Buck was intentionally walked. Mets pitcher Matt Harvey pinch hit for Aardsma and sacrificed the runners over.
After Omar Quintanilla was intentionally walked, Brown lined an 0-2 pitch into left-center and was mobbed by teammates near first base well after midnight.
Collmenter slammed his glove to the ground and then yelled in frustration as he walked off the field.
Diamondbacks right fielder Gerardo Parra was injured in the eighth when he hit his face hard on the warning track trying to make diving catch on Quintanilla's drive that ended up a triple. Arizona said Parra was removed for precautionary reasons.
Wearing black armbands on their jerseys to honor the 19 firefighters who died Sunday in a wildfire about 80 miles northwest of Phoenix, the Diamondbacks fell to 2-5 on a 10-game road trip against the NL East.
The Mets won for the fourth time in 12 home games, needing 5 hours, 13 minutes to secure it.
``If you're going to be out there that long you might as well win the game,'' manager Terry Collins said. ``We were out of pitching, I can tell you that.''
The Diamondbacks appeared poised to snap a three-game skid and end a long drought of winless starts by their starters at 23 games (0-10), opening an early 3-0 lead behind Paul Goldschmidt's two-run homer, his 20th, and Aaron Hill's RBI single in the second off Shaun Marcum.
New York tied it in the ninth against Putz in his first save opportunity since the ex-Met went on the disabled list May 8.
Marlon Byrd hit a double off the very top of the wall - a call upheld by replay review - and Satin drove him in with a single. New York had an opportunity to win it there but John Buck was thrown out trying to advance to second base on a wild pitch that moved Satin to third, ending the inning.
The Mets started their comeback after Wade Miley was lifted after 5 2-3 innings of shutout ball. He was the last Diamondbacks starter to win - on June 5.
David Wright had an RBI single off Brad Ziegler in the seventh and Eric Young Jr. a run-scoring double off David Hernandez after a 10-minute delay when Parra got hurt.
Parra was able to walk off the field without assistance after being examined by a Diamondbacks trainer and two EMTs right in front of the Arizona bullpen.
Quintanilla scored on Young's two-out double to right to make it 3-2.
Goldschmidt, who was 1 for 9 during a three-game weekend sweep in Atlanta, gave Miley a quick cushion. He hit a 2-1 pitch from Marcum after Hill was hit by a pitch with one out in the first. Hill added an RBI single in the second before Marcum settled in for six innings.
Then five Mets relievers shut down Arizona, giving up just four hits until Ross' homer.
NOTES: The Mets and Diamondbacks each hung a jersey in their dugouts bearing the name ``Yarnell'' - the locale of the fire - and the No. 19. Those jerseys were shown on the scoreboard at Citi Field during a moment of silence before the national anthem. ... Mets SS Ruben Tejada (strained quadriceps) played his third game for the Gulf Coast League Mets and went 2 for 4 with an RBI while playing all nine innings. Tejada will continue his rehab at Triple-A Las Vegas, and Collins said Tejada will have to earn his way back to the big league club. ... The Diamondbacks placed RHP Trevor Cahill on the 15-day DL with a bruised right hip. Righty reliever Chaz Roe was called up from Triple-A Reno and made his major league debut. ... Mets minor league OF Brandon Nimmo won the fan vote for the final spot on the U.S. roster for the July 14 Futures Game ahead of the All-Star game at Citi Field. ... Diamondbacks LHP Patrick Corbin (9-0) faces Mets RHP Jeremy Hefner (2-6) on Tuesday.