Brown's goal at 14:27 of the second period, which deflected into the net off of Rangers defenseman Ryan McDonagh, turned into the game-winner when Miller scored at 18:35 of the third period. It was Brown's 10th goal of the season and sixth in the past nine games.
It was a backbreaker for the Rangers, who made it 2-1 on Kreider's 17th goal 5:22 earlier. Stepan then shot off the right post, and eight seconds later Lundqvist stopped Zach Hyman on a shorthanded breakaway.
"We scored our first goal, had momentum a little bit, and we get a bad bounce there," Lundqvist said. "That was a tough one. I felt like the energy kind of went down a little bit after that and it was hard for us to create the big chances."
Toronto took a 2-0 lead in the first period on goals by Nylander at 4:49 and van Riemsdyk on the power play at 17:28. It was the third time in the past four games the Rangers trailed by at least two goals in the first period.
"I don't have the answer," Lundqvist said. "If we did have it, it would be easy to correct."
Carrick made it 4-1 with a power-play goal at 13:20 of the third period. Babcock said that was the big goal for Toronto because it came 12 seconds into a power play and essentially put the game away even though Miller eventually scored to make it 4-2.
"It kind of took the wind out of their sails," Babcock said of Carrick's goal.