Logan Couture scored 38 seconds into overtime, lifting the San Jose Sharks to a 3-2 comeback win over the New Jersey Devils on Thursday night that snapped a five-game skid.

Rookie Mario Ferraro and Marcus Sorensen each scored in regulation for San Jose. Martin Jones made 22 saves.

More Images
San Jose Sharks goaltender Martin Jones (31) blocks a shot by New Jersey Devils center Pavel Zacha (37) during the second period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

Logan Couture scored 38 seconds into overtime, lifting the San Jose Sharks to a 3-2 comeback win over the New Jersey Devils on Thursday night that snapped a five-game skid.

New Jersey Devils center Travis Zajac (19) celebrates with Miles Wood (44) after scoring a goal against the San Jose Sharks during the first period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

Couture scored the winner off a pass from Evander Kane, who found the Sharks captain wide open on the left side of the net for his 15th goal. Couture was playing his first home game and just second game overall since missing seven weeks with a broken bone in his left ankle.

San Jose Sharks right wing Stefan Noesen (11) and New Jersey Devils defenseman P.K. Subban (76) compete for the puck during the first period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

The Sharks cut the lead in half early in the second when Ferraro scored his second goal on a wrist shot from the blue line.

San Jose Sharks defenseman Mario Ferraro, left, celebrates with teammates after scoring a goal against New Jersey Devils during the second period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

UP NEXT

New Jersey Devils center Nico Hischier (13) battles for the puck against San Jose Sharks defenseman Jacob Middleton (67) during the second period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

New Jersey Devils center Nico Hischier (13) battles for the puck against San Jose Sharks defenseman Jacob Middleton (67) during the second period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

Travis Zajac and Nikita Gusev each had a goal for the Devils, who were seeking their season-high fourth straight win but blew a 2-0 lead in the second period. Cory Schneider stopped 27 shots.

San Jose Sharks goaltender Martin Jones (31) blocks a shot by New Jersey Devils center Pavel Zacha (37) during the second period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

San Jose Sharks goaltender Martin Jones (31) blocks a shot by New Jersey Devils center Pavel Zacha (37) during the second period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

Couture scored the winner off a pass from Evander Kane, who found the Sharks captain wide open on the left side of the net for his 15th goal. Couture was playing his first home game and just second game overall since missing seven weeks with a broken bone in his left ankle.

Zajac was credited with the game’s first score and his seventh on an own goal midway through the first period. Zajac poked the puck past Jones and defenseman Marc-Edouard Vlasic inadvertently swept the puck into the goal on his backswing while trying to clear it.

The Devils capitalized on a Sharks turnover to take a 2-0 lead with just under five minutes left in the first when Gusev took the puck away from defenseman Jacob Middleton deep in the Sharks zone and broke free for a breakaway goal.

New Jersey Devils center Travis Zajac (19) celebrates with Miles Wood (44) after scoring a goal against the San Jose Sharks during the first period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

New Jersey Devils center Travis Zajac (19) celebrates with Miles Wood (44) after scoring a goal against the San Jose Sharks during the first period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

The Sharks cut the lead in half early in the second when Ferraro scored his second goal on a wrist shot from the blue line.

They tied it on Sorensen’s short-handed goal – his seventh - at 15:58 of the second.

NOTES: The Devils had won five of their previous seven and earned a point in 11 of their previous 14, going 8-3-3 over that stretch. ... Schneider made consecutive starts for the first time since Oct. 12 and 14. ... The Sharks recalled F Lean Bergmann from the San Jose Barracuda, their AHL affiliate. ... Sharks C Antti Suomela was placed on injured reserve. ... Sharks D Dalton Prout (concussion) is day-to-day. ... Rookie Noah Gregor’s assist on Ferraro’s goal was the first of his NHL career.

San Jose Sharks right wing Stefan Noesen (11) and New Jersey Devils defenseman P.K. Subban (76) compete for the puck during the first period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

San Jose Sharks right wing Stefan Noesen (11) and New Jersey Devils defenseman P.K. Subban (76) compete for the puck during the first period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

UP NEXT

Devils: At Los Angeles on Saturday.

Sharks: Host Pittsburgh on Saturday.

More AP NHL: https://apnews.com/NHL and https://twitter.com/AP_Sports

San Jose Sharks defenseman Mario Ferraro, left, celebrates with teammates after scoring a goal against New Jersey Devils during the second period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

San Jose Sharks defenseman Mario Ferraro, left, celebrates with teammates after scoring a goal against New Jersey Devils during the second period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

New Jersey Devils center Nico Hischier (13) battles for the puck against San Jose Sharks defenseman Jacob Middleton (67) during the second period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)

New Jersey Devils center Nico Hischier (13) battles for the puck against San Jose Sharks defenseman Jacob Middleton (67) during the second period of an NHL hockey game Thursday, Feb. 27, 2020, in San Jose, Calif. (AP PhotoTony Avelar)