Marc-Edouard Vlasic, Dan Boyle, Logan Couture and Justin Braun also scored for the Sharks, who won their third straight of the young season. They have outscored their opponents 17-4.
Jason Demers and Joe Pavelski each had three assists.
Brad Richards and Derek Dorsett scored for the Rangers, who were coming off a 3-1 victory over the Los Angeles Kings on Monday night.
San Jose goalkeeper Antti Niemi needed to stop 18 shots for the win while Rangers goalkeeper Henrik Lundqvist stopped 22 of 26 shots during his nearly 30 minutes on the ice. Martn Biron took over in the net after the Sharks built a 4-1 advantage and saved 16 of 21.
The nine goals were one off the franchise record.