Ryan Callahan scored the winner in the fourth round of a shootout and Henrik Lundqvist stopped three of four attempts by the Bruins to salvage a 4-3 win after the Rangers blew a 3-0 lead in the last 11:16 of the third period at TD Garden Tuesday night.

"We have to learn from it," said Callahan, who beat Tuukka Rask to secure the Rangers' third win in a row and raise their record to 7-5. "We have to play harder in the third period with the lead in away buildings. At the same time, we showed some character by not folding the tent in overtime. At the end of the day, we find a way to come out with two points."

Down 3-1 late in the game, Bruins coach Claude Julien pulled Rask for an extra attacker. The Rangers forecheck vanished and Nathan Horton scored with 1:31 left in regulation. With 42.3 seconds left, Brad Marchand knotted the game on a rebound for his seventh goal and the crowd went bonkers.

"They were able to get some shots through," Marc Staal said, "and any time that happens it causes . . . rebounds and everybody is turning their heads and they were able to find a couple and put them in."

But Lundqvist, who made 37 saves, including four in overtime, helped close out the win.

After Marchand's goal, Lundqvist said: "I thought, 'They just don't want to go away tonight.' It was frustrating, the last couple minutes of the game, but there was still a big point to play for and I had to calm down and focus."

Rick Nash, who made a spectacular rush and pass to Carl Hagelin for the opening goal of the game, scored in the second round of the shootout on a deke and reach-around, but Marchand tied it before Callahan scored to win it.

Derek Stepan zipped a shot under Rask's glove from the left side at 8:17 of the second period for his second of the season, and Anton Stralman scored for the first time in 40 regular-season games with a low-velocity wrister from below the right side dot that Rask only got a piece of, to make it 3-0 at 2:07 of the third.

But David Krejci scored his fourth of the season at 8:44, one second after a power play ended, and the Bruins had a little life. The Bruins were 0-for-4 on the power play and are just 4-for-43 for the season, but they still couldn't be counted out. In addition, 18 of the last 23 games between these two teams had been decided by a goal. And that's what happened again.

The Bruins beat the Rangers here in the season opener, 3-1, and the Rangers answered with a 4-3 win over the Bruins on Marian Gaborik's hat trick and overtime game-winner at Madison Square Garden.

"I thought we played a good game. They come back, but we still come away with two points," coach John Tortorella said. "That's a good team we played against and a tough building to play in. We still have a lot of things to work on, such as protecting the lead."