Yasmany Tomas' fourth-inning home run proved to be the difference as the D-backs overcame a poor start from Shelby Miller to beat the Giants, 6-2, on Thursday afternoon and sweep the four-game series at AT&T Park.