Brian, It sounds like you may have a loose connection to one of your sensers or maybe a short. The next time it happens try going to auto zone and have them run the codes. This might give you an idea where the short or problem is. Hope this helps.
Fitter