Denny Hamlin fought off Kevin Harvick on Sunday night to win the second NASCAR Cup Series race of the weekend at Pocono Raceway in Long Pond, Pa.