having issues with stock 95 xj cherokee 4.0
the jeep: 1995 jeep xj cherokee with 4.0L automatic, 182K miles
here's the problem: every now and then when you get in the car and go to start it it will crank and fire but as soon as you let go of the key it dies, so it turned out not to be the fuel pump, i replaced the filter anyway, now the issues have gotten worse, as stated before they are still intermittant, sometimes it starts like normal, sometimes it doesnt want to, today it refused to start for quite some time, the 30sec trick did not work, nor did rocking the key back and forth between off and accessory, but interestingly right before it finally started while the key was in accessory the check engine light came on flashing, and turned off once the car was started, also it seems when the car does have issues starting after it has started it seems to run slightly rough for about the first 30 seconds then smooths out, no other issues while driving, only the intermittant starting issues, most likely something electrical is my assumption, any ideas?
.... ___ ....................... _______
. /,[___], ..................../__/_,[___],
()_) ()_) ---- )_)........()_)--- ) ()_) ---- )_)