I just came here to add that a sensor can also cause intermittent stalling. I have a cam position sensor acting up and sometimes it stalls and runs rough at low speed/idle. Just throwing this into the mix for any DIY troubleshooters who may pass through here searching for an answer to their problems.
My car is a 97 Accord LX that is heavily modified electrically. I have removed the entire interior and cut out and patched up my wiring harness and lifted it behind the bar. So, may not be a 1 to 1 but I mostly just removed what i did not need/want and shortened what was needed and kept in tack. Cut out harness plugs a d a few relay or two.