Got a crazy Starting Issue! ........I mean nutz!

When it decides not to start nothing works at all no lights no cranking no flashers no dome lite etc. I can jump the leads on the starter solinoid and it will crank but there is no power getting to the coil etc. Once I have the lights on for awhile it will fire right up and runs well.
Forgot to mention that when turn the light switch to running lights , nothing comes on. Its all still dead. Then ill come back in about an 40 minutes and the running lights will be on and it will start.