Wiring or electronics problem on 2002 Ford F-250 Super Duty

All equipment in my truck works but sometimes when I start up the windows, radio, fan, etc will not work. I can hit the dash over the steering wheel with the hills of both hands and everything will come back on. Sometimes with the engine on or off and the radio on I can open the glove box and the radio will go off. Is it a ghost?

Asked by for the 2002 Ford F-250 Super Duty
No ghost...sounds like a frayed wiring harness behind the dash. You will need to pull the radio and some of ther paneling to get a good look. Usual culprit wires are one of the mains rubbing against the sharp edges of the radio mounting bracket.