if it was a transmission fault then the error in the computer should have been "trans program" not check engine, i had a little bit similar problem before, the car just died while driving around 60kmh on the highway, check the sensors like the crank sensor or anything related to fuel senders like the lines, pump or filter, still it would be best to see an expert so that the problem could be pointed out