A federal judge in Detroit sentenced a Volkswagen engineer who helped design engines at the center of an emissions cheating scandal to 40 months in prison.