It could be a lot of things (bad fuel/filter/leak/cps/electronic issue). Could be air in the line/bad seal/forgot to put the ring on it/bad fuel. Not sure what applies to yout situation but I would start with a new filter/seal/bleeding to elimate air....maybe it's due for a change or you just changed it/had it changed and something isn't right.
I have also heard of hair line cracks in the filter housing that are hard to locate. How soon before this did you fill the tank?
I don't know if you belong to any dmax forums (I did when I had a cpl dmax trucks), but you could read for hours on this issue so hopefully it's not bad fuel or the CP3 and it's an easy fix. Good luck!
01 QCSB..Edge Box...AFE Intake...dual stacks. Lots of work to be done lol!