ST. PETERSBURG, Fla. (AP) -- Michael Conforto hit a tying double and Wilmer Flores had a go-ahead single in the ninth inning as the surging New York Mets rallied past the Tampa Bay Rays 4-3 Friday night for their seventh consecutive victory.

Juan Uribe and Daniel Murphy homered late for the NL East leaders, who improved to 4-0 on a six-game road trip.

Lucas Duda reached first base to start the ninth on a throwing error by reliever Brad Boxberger (4-8). Duda went to second on a wild pitch and came home on Conforto's liner to left-center. The rookie scored to make it 4-3 when Flores blooped a two-out single to right.

More from FoxSports

Jeurys Familia got three outs for his 30th save.

Evan Longoria, James Loney and Grady Sizemore homered for the Rays, who started a stretch of 22 of 27 games against teams currently with records above .500.

Longoria gave Tampa Bay a 3-2 lead on his center-field shot in the eighth off Tyler Clippard (1-0). New York had pulled even at 2 when Murphy hit a solo drive against Jake McGee in the top of the inning.

The Rays went ahead 2-1 on Loney's solo drive off Jacob deGrom in the seventh. It was his first homer since July 7, fourth this year and 99th in his major league career.

Last season's NL Rookie of the Year, deGrom entered 7-2 with a 1.47 ERA over his previous 13 starts. He allowed two runs, six hits and had seven strikeouts in 6 1-3 innings.

The Florida native, who played college baseball about two hours from Tropicana Field at Stetson, received a nice ovation as he walked from the dugout to the bullpen for his pregame warmup.

Sizemore put the Rays up 1-0 on a fourth-inning leadoff homer. He took a homer away from Flores with a nifty catch in the sixth after jumping into and reaching over a short wall in the left-field corner.

Uribe tied it at 1 in the seventh on a solo shot off Jake Odorizzi, who gave up four hits over 6 2-3 innings.

TRAINER'S ROOM

Mets: 3B David Wright (spinal stenosis) could start a rehab assignment Monday. ... OF Michael Cuddyer (left knee) could return this weekend. He went 0 for 3 with an intentional walk in a rehab game for Class A St. Lucie and played nine innings in right field. ... LHP Steven Matz (left lat muscle) will throw off a mound next week. ... Manager Terry Collins doesn't know when RHP Rafael Montero (right shoulder) will be back.

Rays: SS Asdrubal Cabrera started after he was hit on the ear by a thrown ball Wednesday. ... LHP Drew Smyly (labrum) is scheduled for his fourth rehab start Tuesday.

UP NEXT

Mets: RHP Noah Syndergaard (6-5) is coming off consecutive starts of at least eight innings with nine or more strikeouts and no walks.

Rays: RHP Nathan Karns (6-5) has 10 no-decisions in 21 starts this season.