Paul Gaustad scored the tying goal midway through the third period and Brad Boyes netted the clincher in the shootout as the Buffalo Sabres posted a 4-3 comeback victory over the host New York Islanders on Saturday.
Nathan Gerbe and Derek Roy also tallied in regulation for Buffalo, which has won three straight on the road after losing 12 in a row.
Ryan Miller made 35 saves in posting his franchise-record 235th victory. Miller had been tied with Dominik Hasek atop Buffalo's all-time list.
After Roy drew the Sabres within 3-2 late in the second period, Gaustad beat Al Montoya from the slot on a short 2-on-1 rush with 8:14 remaining in the third, forging a tie.
Buffalo successfully killed a penalty in overtime and Boyes put a quick shot past Montoya in the first round of the shootout to give the Sabres the edge.
Miller denied Frans Nielsen on New York's second opportunity and captain Jason Pominville fired the puck between Montoya's pads to clinch the win.
Nielsen ended an 11-game drought with his first two-goal performance since March 30 and Josh Bailey also scored for the Islanders, who are 5-1-2 in their last seven contests.