Hamlin overcame an early setback that dropped him from pole to the rear of the field to earn the victory for the second straight week.