DETROIT (Ticker) -- Brett Hull's 700th goal provided some relief. Patrick Boileau's second provided a win.
After Hull became the sixth player in NHL history to record 700 goals, Boileau snapped a tie with 2:37 remaining as the Detroit Red Wings halted a six-game winless skid with a 5-4 victory over the San Jose Sharks.
Mired in a seven-game drought, Hull joined an exclusive club with 3:06 left in the second period, one-timing Pavel Datsyuk's cross-ice pass under a sliding Evgeni Nabokov from the bottom of the left faceoff circle.
It was the 21st goal of the season for the 38-year-old Hull, who admitted he was relieved to score No. 700.
"It's been a long time coming," he said. "For that one to go in, it was a great feeling. It wasn't even one of the best chances I've had. To be stuck at 699, that would have been terrible."
San Jose erased a pair of deficits before Boileau scored the game-winner, taking the puck off teammate Brendan Shanahan's skate and beating Nabokov with a snap shot from under the right faceoff dot.
Boileau, a defenseman who made his NHL debut with Washington during the 1996-97 season, had just one goal in his previous 22 NHL games, including 15 this season.
"Anytime you score in the NHL, it's something big, especially tonight," said Boileau, who turns 28 on February 22. "Hullie scored his 700th goal and I scored the same night."
Kris Draper, Shanahan and rookie Henrik Zetterberg also scored for the Red Wings, who snapped an 0-4-2 winless stretch. They totaled only 11 goals during their skid, five in a tie against Nashville last Tuesday.
"I thought we played hard and I thought we played well the last couple of games, but we just didn't get a break," said Wings coach Dave Lewis, whose team took over fourth place in the Western Conference. "Tonight, we found a way to win."
After complaining about his playing time following Saturday's 5-3 loss to Colorado, Red Wings center Sergei Fedorov had a pair of assists, setting up the game-winning goal.
Defenseman Brad Stuart had a goal and an assist for the Sharks, who fell to 0-3-0 on their seven-game road trip. They are 10 points behind Anaheim for the eighth and final playoff spot in the West.
"We played exceptionally well tonight. We showed a lot of resilience," coach Ron Wilson said. "That's something I've questioned guys about behind closed doors. We've got to have better resilience."
The Sharks opened the scoring 8:16 into the first period when Mark Smith snapped an 87-game goal drought, but Draper tied it with 3:05 to play in the period.
Stuart and Shanahan exchanged power-play goals in the second before Hull reached his most recent milestone, joining Wayne Gretzky (894), Gordie Howe (801), Marcel Dionne (731), Phil Esposito (717) and Mike Gartner (708) in the 700-goal club.
"It means a lot more to me because I also have the rings and the Stanley Cups," Hull said. "This personal achievement just means it has all come full circle."
Hull became the second-fastest player to record 700 goals, doing it in 1,157 games. Gretzky reached 700 goals in 886 games.
"He can stop thinking about it now," said Steve Yzerman, Detroit's long-time captain. "When you're going for a milestone, you try not to think about it, but it's always in the back of your mind whenever you touch the puck."
Just 1:40 after Hull scored, Owen Nolan tied it at 3-3.
Zetterberg gave Detroit a 4-3 lead 1:54 into third period, but Scott Thornton tied it 2:13 later on the power play, setting up Boileau's heroics.
Fedorov skated down the left wing and sent a cross-ice pass to Shanahan, who stopped the puck with his left skate above the high slot. Boileau picked it up and skated to the right circle before beating Nabokov.
"That was a huge win for us," Boileau said. "Now, maybe we can go on a winning streak."