Sounds like a Ficm to me. Load test batteries and have the alternator checked. That is a good start. You might want to pull your turbo and clean it as well. You can get a turbo cleaning kit at tousley ford online, it has everything you need.
Like the kool-aid comment,if you want to do anything to your ficm get a php tune that will do something for you, economy tune/atlas40 great for non studded, atlas80 or the hrecules tune is great if you have a studded engine and want more power.Ed at ficmrepair.com
The 58V coolaid thing is up to you.
Thanks eveyone for all the info i am going to contact ed at ficm reapir and go from their since this truck is a mason dump that works eveyday just leaving it stock is probally the best option just trying to find a cheaper solution for the ficm repair rather than the dealer