Well, I wish you would've read the codes before you replaced the battery. Unhooking it reset it, so now the computer doesn't know what the problem is either. I'm still betting it's a sensor: Crank Position, cam angle, Throttle position most likely. Could be the MAP or MAF, since it's quitting...