MLB

Martin’s walk-off homer finishes Yankees sweep of Mets

And stay out.

The Mets came to Yankee Stadium hoping to show their surprising start was no fluke, but were instead swept away by a Yankees team that is finally finding its form.

After beating up the Mets’ ace on Friday and winning again Saturday, the Yankees came back from a three-run deficit and got a game-winning homer from Russell Martin in the bottom of the ninth for a 5-4 win yesterday in The Bronx.

“It feels great,” said Martin, who belted two homers on the day. “I can’t picture a better script for me.”

Though both teams are headed south for road trips, it would be hard to imagine them going in more diverse directions.

While the Yankees celebrated their eighth win in 10 games, the Mets were left to stew over lost opportunities in each of the last two games.

And manager Terry Collins admitted the recent slide is getting to the Mets.

When asked to take the temperature of his team, the manager said: “Angry… it’s hot.”

But he vowed the Mets, who have exceeded all expectations this season, will continue to show resolve despite having lost six of their last seven.

“Absolutely,” Collins said. “We won’t let it change.”

BOX SCORE

SUBWAY SERIES MOMENTS

That will be a challenge now that they have to visit the Rays after seeing Johan Santana pummeled by the Yankees in the series opener and then watching leads slip away in each of the last two games.

Yesterday’s finale was the most dramatic game of the Subway Series as the Yankees took advantage of Mets errors and shaky work from their bullpen to score all five runs in the final three innings. The Yankees — who visit the Braves for a three-game set starting tonight — were able to shake off a blown save from Rafael Soriano in the ninth.

“It has to come from different places every day,” Joe Girardi said. “And then a walkoff. It seems like we haven’t had one of those in a while.”

But Martin provided it, drilling a 3-2 slider from Jon Rauch into the left-field seats two innings after he hit a two-run shot to right that bounced off the fence into the stands for the Yankees’ first damage of the day off Jon Niese.

Those runs came only after David Wright made an errant throw to first on an Andruw Jones grounder to extend the inning.

“When he didn’t make the play, I just said, ‘This isn’t good, not here,’ ” Collins said. “[Niese] got that ball up to Russell. In this park, it’s a home run.”

The Yankees took a 4-3 lead in the eighth after loading the bases off Bobby Parnell. They got an RBI single from Mark Teixeira to tie it and a bloop to right from Alex Rodriguez for the one-run advantage.

But Soriano, who had been 9-for-9 in save opportunities since the Yankees lost Mariano Rivera and David Robertson to injury, couldn’t nail down the win.

He surrendered back-to-back doubles to Lucas Duda and Ike Davis to make it 4-4. Davis’ clutch hit was somewhat undone when he was thrown out at third by Jayson Nix on Omar Quintanilla’s grounder to short.

Soriano was lifted after Daniel Murphy’s pinch-hit single put runners on first and third with one out. Boone Logan was summoned to face another pinch-hitter, Josh Thole, who struck out looking on a slider that he thought was low.

“The one thing you know he’s going to do is put the ball in play,” Collins said of the catcher. “That hurt us there.”

Logan said, “A strikeout was definitely in my mind. I guess I got lucky I got the call on strike three.”

Logan got Kirk Nieuwenhuis to ground out to Robinson Cano to keep the game tied, and Martin took care of the rest.

INSIDE PITCH

HERO

After the Yankees were scoreless through 6 2/3 innings, Russell Martin hit a two-out homer to get them within 3-2, then added a walk-off shot in the ninth.

ZERO

The Mets led 3-0 with two out in the seventh when David Wright’s error on Andrew Jones opened the door for the Yankees, who got a two-run homer from Martin on the next batter. Wright previously struck out with the bases loaded to end the second and was picked off first to end the fifth.

TURNING POINT

After Rafael Soriano allowed Ike Davis’ game-tying RBI double in the top of the ninth, backup Yankees shortstop Jayson Nix made a savvy throw on Omar Quintanilla’s grounder to get Davis on a tag at third. That kept a run from scoring on Daniel Murphy’s subsequent single, and Boone Logan escaped the inning unscathed.

TO QUOTE

“He [bleeping] hit it a mile, and that cost the game. I made a couple of good pitches and hung one and he hit the [bleep] out of it.”

— Losing pitcher Jon Rauch on Martin’s walkoff blast

dan.martin@nypost.com