Jimmie Johnson held off team-mate Dale Earnhardt Jr down the stretch to land the Dover International Speedway for a record eighth time.