The Rangers' path to the playoffs was clear before Game 82 of the season, the likelihood it would pan out was cloudy at best.

Yet, one year after New York was sent home with a shootout loss at Philadelphia on the final day of the regular season, the Rangers took care of their business and then got help they never could have counted on.

A surreal scene played out at Madison Square Garden on Saturday, beginning with the surprise return of captain Chris Drury. He scored his first goal of the season during his first shift of the game and provided a lift that led to a 5-2 comeback victory over the New Jersey Devils.

That, coupled with the Carolina Hurricanes' 6-2 home loss Saturday night to the Tampa Bay Lightning — who had nothing to play for — put the Rangers into the playoffs as the No. 8 seed and into a first-round matchup with the top-seeded Washington Capitals.

Drury and several of his teammates got together to watch the Lightning's victory, and rode the wave as Tampa Bay built a big lead and held on.

"The superstitious guys stayed away," Drury said. "Obviously, we're just happy with the outcome. We're excited with the opportunity of playing Washington.

"Everyone was pretty cautious even though early it was 3-0."

New York faced Washington in the first round two years ago and blew a 3-1 series lead before losing in seven games.

Ryan McDonagh netted the first of his NHL career during a three-goal second period and the Rangers coasted from there against the Devils, who are playing out the string in a rare non-playoff season.

The Rangers earned the win in front of an excited, yet nervous crowd that will see the team play again this season. New York's final game ended about four hours before the Lightning saved the season.

As steady and calm as Henrik Lundqvist is in the nets, Drury hinted that the star goalie doesn't do as well when things are out of his hands.

"Watching that game next to Henrik was something I don't ever want to do again," Drury said. "He was pretty intense.

"The guys are obviously excited that we won this morning, and then we were just sitting and waiting and watching to see what happened this afternoon and this evening. It was a long day."

The Rangers earned their 44th win to take a two-point lead over Carolina, which entered Saturday with 40 wins. New York's problem was only 35 wins came not via the shootout. A tiebreaker instituted this season eliminates shootout victories from a team's total.

"It is frustrating when you end up with 44 wins, and a team that may end up with 41 gets in and you don't," Rangers coach John Tortorella said.

It didn't happen.

Once the game was in hand, fans began chanting "Let's Go Lightning," hoping to get the necessary help from Tampa Bay, the club Tortorella coached to the Stanley Cup title in 2004.

"I'm happy for Torts. He's done a lot for my career," Lightning forward Martin St. Louis said. "If we could have helped him, great. We played the game, though. It's not like we were working extra hard for Torts."

With the season on the line, Drury returned to the lineup for the first time in two months and scored right away. Drury had been out since Feb. 3 because of a knee injury that required surgery, missing the previous 27 games. He tied it 1-1 at 3:14.

New York, which held a 29-26 edge in shots, also trailed 2-1, but tied it when Wojtek Wolski scored the first of the Rangers' second-period goals 1:52 in. McDonagh, the rookie defenseman playing in his 40th NHL game, put the Rangers in front at 11:59, and Brandon Prust pushed the lead to 4-2 with 3:54 left.

The Rangers remain the only NHL team not to lose a game this season when leading after two periods (29-0).

Vinny Prospal made it 5-2 with 9:11 to go, bringing more derisive chants of "Maaar-ty" in the direction of Devils goalie Martin Brodeur.

Nick Palmieri and an energized Ilya Kovalchuk staked the Devils to a pair of first-period leads. New Jersey hoped to salvage something out of its disappointing season, that resulted in the team's first playoff absence since 1996, but couldn't knock out the rival Rangers.

"We're going to go home regardless of this," Brodeur said. "This is disappointing for our fans. It's something I am sure they would love for us to do."

Never since the Devils franchise relocated to New Jersey in 1982 have the New York metropolitan area's three teams — Rangers, Islanders, Devils — all missed the playoffs in a season.

New York fell into this precarious playoff position by losing 3-0 at home on Thursday to Atlanta. The Rangers went 11-4-1 in their final 16 games, but three losses were to non-playoff teams.

Palmieri gave the Devils a 1-0 lead 2:03 into the game when he deflected in Kovalchuk's drive. Kovalchuk turned a dominating shift into his 31st of the season with 41.8 seconds remaining in the first.

In between, Drury got the Rangers on the board when he came out of the right-wing corner and knocked the puck past Brodeur while diving in front. It had been a lost season for the 34-year-old center, who had played only 23 games because of a twice-broken finger and the knee injury that knocked him out in February.

Drury replaced Sean Avery in the lineup against New Jersey.

The Rangers took a 2-1 lead when Wolski finished a 2-on-1 break with a shot that deflected in off the stick of diving defenseman Henrik Tallinder. McDonagh pushed the Rangers ahead when he took a pass from behind the net from Prospal and scored from the dot in the right circle. A pair of bad Devils line changes enabled the Rangers to score and grab the momentum.

Prust made it a two-goal lead when he came off the bench and put in a rebound of Brandon Dubinsky's shot.

"When we were in the game, the enthusiasm of the players, the excitement, the drive was there," Brodeur said. "Whenever they scored that fourth goal, it seemed that we just kind of quit a little bit."

NOTES: Neither team had a power play. The only two penalties were assessed simultaneously 5:53 into the second. ... Kovalchuk has his fewest goals in a season since he got 29 during the 2001-02 campaign.