David Backes and Nicolas Deslauriers each had a goal and an assist for the Ducks (12-21-7), who won in regulation for the second time since Feb. 11.
"It was just a great team effort, system and individual," Deslauriers said. "I think everybody brought their working boots."
Patrick Marleau scored his 565th NHL goal to move into 23rd place in NHL history, and Martin Jones made 29 saves for the Sharks (17-17-4), who had a season-long four-game winning streak end.
"For whatever reason, we weren't ready," Sharks coach Bob Boughner said. "They started on time, we didn't. They had their legs, we didn't."