Mason McTavish scored the only goal in the shootout, and the Anaheim Ducks beat the San Jose Sharks 4-3 on Tuesday night.