Probably not related, but my car was doing something similar a while back. The electrical connection on the this thing was causing me grief:

http://2.bp.blogspot.com/-ZGi3uhzgoN...0/IMG_3910.JPG

When connected, no problems. When disconnected the car would start up and then immediately stall. It would not run at all. The electrical spade connectors were pushed up inside the rubber boot and making intermittent contact. I've since slid them out and gave em a little squeeze to tighten em up. This connector is easy to knock loose if you're back there pulling at other things.

-Bob