Cody Ransom made his first career homer a memorable one, liftinga two-run shot off All-Star Clayton Kershaw in the seventh inningto help the Arizona Diamondbacks rally for a 4-3 win over the LosAngeles Dodgers and avoid a three-game sweep on Sunday.