Mika Zibanejad had a goal and assist for the Rangers (33-14-8), who trailed 3-0 and 4-1 in the first period. Igor Shesterkin made 25 saves.
"If you look at that first period, you might say that's a horrendous first period going down 4-1, but I thought we did some good things and the way we created some chances was good," Zibanejad said. "We had to make sure we trust our way of playing; just being patient, there is 40 minutes left at that point, and little by little you try to get back into the game, and that's what we did."
Connor McDavid had two assists to surpass 100 points, Ryan Nugent-Hopkins had a goal and assist, and Zach Hyman had two assists for the Oilers (30-19-7). Jack Campbell made 34 saves.
Kaapo Kakko and
Alexis Lafreniere
scored in the extended shootout for New York. Nugent-Hopkins scored in the first round.
"[Campbell] played really well; it was disappointing," said McDavid, who is Edmonton's captain. "We had a 4-1 lead, but I didn't think it was a 4-1 game. I thought we did a lot of good things on the power play and capitalized on some chances, but it wasn't good enough."