Any evidence of mud splashing on or near the big bulkhead connector under the hood (driver's side, by brake booster. Connects to the back of the fuse box under the dashboard)?
Could be that your connector might be getting wierd, like the one on my '92 did - first the reverse and brake lights stopped working, then the entire truck would shut down and require some wiggling on that connector to get things going again. In my case, I had two wires completely rusted away and a couple more iffy ones.
Hopefully that's not your problem. But if it is, try to find a similar year rig in the junkyard and cut the connector off of it (leave long tails on the wires - all the way back to where it branches off the main trunk running to the computer). I used heat-shrink crimp splices to put mine in, and it works really good now. I do need to glop up the back of the connector with dielectric grease to protect it, though).