GLENDALE, Ariz. (AP) Sam Gagner got the tying goal with 40.4 seconds to play in regulation, then scored the winner in the fourth round of the shootout to lift the Edmonton Oilers to a 3-2 win over the Phoenix Coyotes on Friday night.

Oilers defenseman Justin Schultz also scored and Ben Scrivens stopped 24 shots through overtime.

Oliver Ekman-Larsson scored the tying goal for the Coyotes in the second period, and Kyle Chipchura put them ahead with 7:18 left in the third. Thomas Greiss also stopped 24 shots for Phoenix.

It was a tough loss for the Coyotes, who are vying for the last wild-card spot in the Western Cconference. Phoenix moved one point ahead of ninth-place Dallas, but the Stars have two games in hand.