The Devils were due for a break in a game that went to overtime.

They finally got one on the winning goal awarded to Travis Zajac 1:58 into the extra session Wednesday night which gave them a remarkable 4-3 victory over the Anaheim Ducks at Honda Center.

Zajac had jumped up to join Dainius Zubrus on a 2-on-1 rush, but couldn’t handle Zubrus’ pass in his skates, so he just kicked the puck toward the net. Ducks goaltender Jonas Hiller had made a right pad save, but when Anaheim defenseman Ben Lovejoy went to clear the puck from the crease, he knocked it into the net off the leg of teammate Corey Perry.

“I’ll take them any way,” Zajac said. “That was one of the luckiest goals I’ve ever scored, but I’ll take those any day of the week.”

Zajac’s goal gave the Devils their first win in game that went beyond regulation this season (1-5) and got them to NHL .500 for the first time at 8-8-5. They also handed the Ducks their first loss of any kind at home this season (8-0-1) to begin a three-game California road trip that continues tonight in Los Angeles.

After going 1-5-4 in their first 10 games, the Devils are 7-3-1 in their last 11 to climb into third place in the Metropolitan Division.

“We’ll take it,” Devils coach Pete DeBoer said. “We had a bunch of those go against us in the first 10 games of the season and I think all those kind of breaks even themselves out. I think we knew that when we were going through the tough period and we got a couple tonight.”

The Devils are 0-4 in games that go to shootouts, so avoiding that tiebreaker was on their minds when overtime began.

“We always talk about, ‘Let’s end this in overtime if we can,’” Zajac said. “We all know we haven’t been scoring in the shootouts, so I think if we can make some plays and try to get some good opportunities in overtime and really give ourselves a chance to score some goals we’ll go for it.”