2003 Ford F350 - Off and on electrical glitch

windows and radio will not work sometimes when I start the truck after driving a while it stars to work

you have a loose connection somewhere.