Denny Hamlin's No. 11 Joe Gibbs Racing Toyota took the lead at Richmond Raceway with five laps to go and captured his first victory of the 2022 season.