DETROIT -- Danny DeKeyser scored with 28 seconds left to give the Detroit Red Wings a 5-4 win against the New York Islanders at Joe Louis Arena on Friday.
DeKeyser's shot hit Islanders defensemen Nick Leddy and Thomas Hickey before deflecting past goalie Thomas Greiss to end Detroit's five-game losing streak.
"That's about as lucky as you can get," DeKeyser said. "Scoring a goal off two guys from the other team is a first for me."
Islanders forward Jason Chimera, playing his 1,000th NHL game, tied it 4-4 with 2:26 remaining in the third period.
WATCH: All Islanders vs. Red Wings highlights
"This feels like a punch in the stomach," Hickey said. "Every defenseman gives up goals off deflections, but Jason had given us a perfect script by tying the game on his night, and we couldn't even get a point for him."
New York (22-18-9) lost for the first time in regulation under coach Doug Weight (5-1-1). Greiss made 19 saves.
Video: NYI@DET: DeKeyser nets late go-ahead goal off faceoff
"That's a tough way to lose, but I know I scored goals off bounces like that," Weight said. "Thomas played well, so we can't blame him. It's just a fluky game."
Anthony Mantha, Henrik Zetterberg and Tomas Tatar each had two points for Detroit (21-21-9), and Petr Mrazek made 32 saves for his first win as a starter since a 6-4 victory against the Anaheim Ducks on Dec. 17.
"I think we played a really good hockey game today," Mrazek said. "I felt good, and I thought I had some nice saves in the second and third period. If I let in four and we score five, I'm fine with that."
Video: NYI@DET: Zetterberg buries Nyquist's dish from slot
Josh Bailey gave New York a 1-0 lead at 3:43 of the first period, finishing a 3-on-2 by one-timing a John Tavares pass into the open side of the net. Luke Glendening tied the game 1-1 at 10:07, and Andrew Ladd gave New York a 2-1 lead at 11:35, beating a screened Mrazek with a slap shot.
Darren Helm tied it 2-2 at 12:04 of the second period, beating Greiss off Tatar's pass. Tatar set up another goal at 14:24, when Mantha intercepted Chimera's pass, gave the puck to Tatar and knocked in the return pass from the edge of the crease to make it 3-2.
"I felt even better about getting the tying goal, because that one was entirely on me," Chimera said. "Just a brutal puck right onto his stick."
Video: NYI@DET: Bailey, Tavares connect to open the scoring
Tavares scored a power-play goal at 17:11 of the second period to tie it 3-3, but Zetterberg put Detroit ahead 23 seconds later.
Islanders forward Cal Clutterbuck, in his first game back from an injury, did not return after sustaining a lower-body injury in the first period. Red Wings forward Frans Nielsen missed the third period with an upper-body injury.
Video: NYI@DET: Helm unloads one-timer and finds twine
Goal of the game
After four unsuccessful power plays, Tavares scored on New York's fifth. Anders Lee tipped a pass wide, but Ryan Strome retrieved the puck behind the net and fed Tavares, who beat Mrazek with a one-timer from the left slot.
Video: NYI@DET: Tavares buries Strome's dish for PPG
Saves of the game
With New York leading 2-1 late in the first period and on a power play, Strome took a pass from Lee at the edge of the crease. Mrazek made a pad save on the first shot then blocked Strome's second effort with his shoulder before grabbing the puck out of the air.
Video: NYI@DET: Mrazek stops tip-in, grabs loose puck
Highlight of the game
Chimera forced Mike Green into a poor pass from behind Detroit's net. After the puck bounced off Helm's skate, Chimera reached out and beat Mrazek with a sweeping backhand to tie the game.
Video: NYI@DET: Chimera backhands puck past Mrazek
Unsung performance of the game
Detroit's forechecking caused Strome to ice the puck with 40 seconds left, and Zetterberg won the faceoff in the New York zone to set up DeKeyser's winning goal.
"We did it to ourselves," Weight said. "We iced the puck."
They said it
"I was a little more nervous tonight than I am before most games. All I could think about was the people that have helped me get here." -- Islanders forward Jason Chimera on playing his 1,000th NHL game
"I know if you shoot the puck at the net, you'll get some bounces, and we obviously got a bounce on that one." -- Red Wings coach Jeff Blashill on Danny DeKeyser's game-winning goal
Need to know
Weight said Clutterbuck will miss the game against the Carolina Hurricanes on Saturday. ... Blashill said Nielsen will test his injury before the game against the Nashville Predators on Saturday. ... The Red Wings will activate defenseman Brendan Smith (knee) off injured reserve. ... Weight coached his first game for the Islanders on Jan. 19. ... Chimera has played 49 games in his first season with New York.
Islanders: Host the Carolina Hurricanes on Saturday (7 p.m. ET; MSG+, FS-CR, NHL.TV)
Red Wings: At the Nashville Predators on Saturday (8 p.m. ET; FS-TN, FS-D, NHL.TV)
Video: DeKeyser knocks in late goal to seal 5-4 win