MIAMI (AP) -- Eric Campbell's tiebreaking pinch single and Juan Lagares' two-run triple highlighted a four-run eighth inning that helped send the New York Mets to a 5-1 win over the Miami Marlins on Tuesday night.
Jonathan Niese (6-9) allowed one run and four hits in seven innings for the NL East-leading Mets, who won their fifth consecutive game.
Mets relievers Tyler Clippard and Jeurys Familia combined to pitch two scoreless innings to end the game.
Lucas Duda drove a ball over right fielder Cole Gillespie for a single leading off the eighth against Mike Dunn (1-5) and Travis d'Arnaud followed with a base hit. Campbell batted for Niese and hit a soft line drive into shallow left field over the outstretched glove of shortstop Adeiny Hechavarria.
Lagares's tripled to make it 4-1 and scored on Curtis Granderson's double.
The Marlins have lost six of seven.
Dee Gordon's RBI single in the third ended Niese's scoreless inning streak at 18.
Miami starter Brad Hand pitched four scoreless innings before leaving after 84 pitches with a 1-0 lead.
Ruben Tejada singled off Adam Conley to score Wilmer Flores, who beat Gillespie's throw home from second as he slid his left hand underneath catcher J.T. Realmuto's tag.
Mets: 3B David Wright (back) participated in a workout before he begins a rehab assignment with Class A St. Lucie. "He hit today, he ran, threw, caught grounders, absolutely looked great," Mets manager Terry Collins said. "Really looked good. He hit some balls hard." ... Collins plans on meeting with RHP Rafael Montero (rotator cuff inflammation) on Thursday in Port St. Lucie, Florida, to give him a motivational speech about his recovery and try to get him back to the big league club as quickly as possible.
Mets: RHP Matt Harvey (9-7, 2.91 ERA) is coming off a strong outing against Washington on July 31 as he allowed one run in 7 2-3 innings. Harvey is 3-3 with a 1.86 ERA in his last eight starts.
Marlins: RHP David Phelps (4-7, 3.93) is looking for his first win since June 16 against the New York Yankees. Phelps will be making his fourth start against the Mets this season. He has not figured into a decision and has a 2.70 ERA in his first three outings.