Hesitates and stalls when driving 2000 Nissan Xterra stick 3.3

2000-nissan-xterra

Hesitates and stalls when driving. Also when parked has rough idle. This just happens sometimes. The fuel pressure good fuel filter new. Has new distributor, new crankshaft sensor. The check engine light on and off for a while



First thing to do would be to pull any check engine light codes and post them back here.