A judge ordered a four- to 12-year prison sentence Thursday for a man who admitted to driving 140 mph seconds before he crashed into another car, killing another driver and injuring his passenger.