Could be anything... Sensor problem, solenoid problem, fuel problem... Hook it up to a code reader and see if it tells you anything. Some auto parts stores will do it for free. Call around... If the computer's unable to keep the car running, it should be throwing some kind of code that will at least help you narrow things down.