Please understand that my K5 is possessed. And since I was born on Friday the 13th, we go together well. 
Started the truck this morning to let it warm up....let it run for about 5 minutes....came out to leave, and it was revving a bit higher than normal....would calm down for a sec or two, then rev higher again for a few secs....repeat.
I got in to leave and as soon as I put it in R, it boggled and died. I tried starting it, and it would only try to actually start with the pedal to the floor.....boggle and die.
Got out, went into the house for a couple minutes, came back out and it started right up and ran fine all the way to work.
This isn't the only episode.....it's acted similar to this shortly after starting it and driving about a block before it did the same thing as above.
It gives me a code 15.
I've gotten this code also while driving down the highway at 70 mph. The check engine light will come on for about a minute then go out.
When I head out to work, and it's running fine, I feel a surge of "get up and go" as I'm taking off to get up to speed for the highway.
My temp, oil pressure, and battery gauges read higher than normal. EX: temp gauge will read 210 and the actual temp is 192. Oil gauge stays at or past 60 (almost pegged), and battery is between 13 and 18. All gauges have been swapped with known working ones.
I did a winadl test and compared to what I've seen from other owners, mine is screwed up. I don't know how to put it in a zip file to send to the site that's recommended on here.
I checked the ground straps and they are good......Can the alternator cause this?
I may have to chase the wiring down to see if there is something shorting out or grounding.
These episodes only happen about twice a month.
Just wanted some input on possible causes. And like I said before, it's possessed.

Started the truck this morning to let it warm up....let it run for about 5 minutes....came out to leave, and it was revving a bit higher than normal....would calm down for a sec or two, then rev higher again for a few secs....repeat.
I got in to leave and as soon as I put it in R, it boggled and died. I tried starting it, and it would only try to actually start with the pedal to the floor.....boggle and die.
Got out, went into the house for a couple minutes, came back out and it started right up and ran fine all the way to work.
This isn't the only episode.....it's acted similar to this shortly after starting it and driving about a block before it did the same thing as above.
It gives me a code 15.
I've gotten this code also while driving down the highway at 70 mph. The check engine light will come on for about a minute then go out.
When I head out to work, and it's running fine, I feel a surge of "get up and go" as I'm taking off to get up to speed for the highway.
My temp, oil pressure, and battery gauges read higher than normal. EX: temp gauge will read 210 and the actual temp is 192. Oil gauge stays at or past 60 (almost pegged), and battery is between 13 and 18. All gauges have been swapped with known working ones.
I did a winadl test and compared to what I've seen from other owners, mine is screwed up. I don't know how to put it in a zip file to send to the site that's recommended on here.
I checked the ground straps and they are good......Can the alternator cause this?
I may have to chase the wiring down to see if there is something shorting out or grounding.
These episodes only happen about twice a month.
Just wanted some input on possible causes. And like I said before, it's possessed.