I have been running in to basically the same problem that you are having. Every so often the truck with just drop to just about a stall then when it recovers it would rev up quite high, maybe around 2500 rpm. Other times, when the truck it idling, it would get a really bad clanking sound similar to the old 12 valve motors but louder and very unstable sounding. When I took it in to have it checked out, they could not find anything wrong but the motor also would not act up for them at all. One day I finally got it to act up and they narrowed it down to the pressure sensor on the injection pump. So they ended up having to order me a whole new injection pump to fix the problem. I just got the truck back yesterday afternoon, so I will just have to run it now and see how it does.
Before the problem was diagnosed, I said we were having problems getting the motor to act up. I had borrowed a PDQ box from a friend and anytime that box was turned on, the motor would act up and make the clanking sounds and stall quite a bit. When the box was off, it was pretty much back to normal and would not act up. Just have to be careful with that, if you take it to a dealer with a box on it, they might get a little fussy and blame it on the box.
Hope this info help out.
Mark