Denny Hamlin took his last lead out of the pits right before an overtime finish and then held off William Byron to win the Goodyear 400 at Darlington Raceway on Sunday.