I'm new to this forum, so if I post this incorrectly sorry.
I have a 2000 GTP which I recently discovered has a 1997 engine in it. I've had it for 2 years with no issues besides a recent fuel pump replacement. The other day as I slowed down to make a turn it stalled, started right back up and continued on. Stopped at a light it stalled again. Tried a few things like disconnected the battery for a bit to reset the system and still having the problem. I changed a few sensor (MAF, Crankshaft, and IAC sensors) with no luck. I am now getting a P0171 code indicating a lean front bank. I can't find any vacuum leaks. I can disconnect the MAF and it will run, then I can reconnect it and drive it for a bit before it starts stalling and dies. Any ideas on a cause? I'm hoping it's not the ECM, although I figured if it were I wouldn't be able to get it to run part of the time.
Any help would be greatly appreciated.