MARTINSVILLE, Va. (AP) -- Jimmie Johnson pulled away on a restart with eight laps to go and won the NASCAR Sprint Cup Series race at Martinsville Speedway on Sunday.