A judge sentenced a man to two-and-a-half to six years in prison for leaving the scene of a crash that left one man dead and two others injured.