HOUSTON -- David Wright got to test his sore back in many ways Friday night.

He chased a foul ball to the third-base dugout railing and leaned over to try to catch it. He leaped for two rocket line drives hit right over his head.

And, most dramatically, he hit a go-ahead, two-run home run in the eighth inning as the Mets beat the Astros, 6-4, for their third straight victory.

Wright was given the previous two days (one game) off by manager Terry Collins to rest his back. He returned to the lineup Friday as the Mets rallied from a 4-0 deficit with one in the seventh on Jason Bay's home run and four in the eighth on Fernando Martinez's two-run, pinch-hit homer and Wright's two-out blast.

Bay and Martinez went deep off Astros starter Bud Norris, who was removed with the score 4-3 after walking Jose Reyes with one out in the eighth. After Josh Thole flew out, Wright lined a 2-and-1 slider into the leftfield boxes off Jeff Fulchino (0-1) to give the Mets the lead for the first time all night.

It was Wright's sixth homer of the season and first since he hit two against the Diamondbacks on April 24.

advertisement | advertise on newsday

"It all started with Fernando hitting the home run," Collins said of Martinez, who was called up Thursday to replace Ike Davis and hadn't homered in the majors since June 30, 2009.

"All of a sudden, we knew we were back in the game," Collins said. "Jason hit a homer today, David breaking out today, it's a huge win for us."

Pat Misch (1-0), the third Mets pitcher, picked up his first win since 2009. Francisco Rodriguez got the final four outs for his 11th save (and 14th game finished; he needs 55 to kick in a $17.5-million option for 2012).

Jason Pridie snapped an 0-for-15 skid and drove in an insurance run with a ninth-inning double.

Mets starter Dillon Gee, his rotation spot certain after the season-ending shoulder injury to Chris Young, was charged with four runs in five-plus innings.

Wright got to test his back in the Astros' three-run sixth. With the Mets trailing 1-0, Carlos Lee led off with a rocket over Wright's head that the third baseman made a leaping try for. It went for a single.

One batter later, Chris Johnson sent another shot Wright's way and again he leaped for it. He didn't get it -- Johnson got an RBI double -- but at least Wright was able to make two sudden movements without any signs of discomfort.

He also sprinted to the railing of the third-base dugout after a pop-up in the third and stretched way out to try and catch it, though the ball glanced off his glove for a no-play.

And of course there was the home run. "It always feels good to hit home runs," he said. "It feels good to drive runs in. When you can do it late in the ballgame like that, it's even more important. Glad with the win. I'm happy with the fashion we won. Seemed like we weren't going to do anything offensively for the majority of the day and kind of broke out of it late."

The comeback was the Mets' largest since they came back from 6-2 down in the sixth inning last May 11 to beat Washington, 8-6.