If that doesn't turn out to be your problem, I had a similar issue. It was a faulty relay that got stuck sometimes and wouldn't energize, I just had to smack it against the fender a couple times and it'd start working again. I did that for 4 months until it finally melted down and I replaced it with the ECU relay from an F150.