The Sharks carried a 3-1 lead into the third period but the Ducks got consecutive goals from Alex Grant and Ben Lovejoy in the late stages to knot the score.
After San Jose's Antti Niemi made an impressive toe save against Nick Bonino in the first round of the tiebreaker, Pavelski opened the second round by coming in on Jonas Hiller, stopping and firing a shot between his pads.
Niemi then made saves on Corey Perry and Kyle Palmieri to wrap up the most successful homestand ever for the Pacific Division-leading Sharks.
Patrick Marleau provided a goal and an assist.
Perry notched a regulation goal and Hiller made 32 saves.