problem with all lights

When I hit my switch to turn on my headlights and interior lights. . .they will come on. For a second then,, they suddenly shut off this is only the headlights tailights lnterior lights. The parking lights stay on and as for my gauges they all flicker back and forth constatnly volt meter,tach also radio shuts off and on.. . So I cant even drive at night cause my lights won't stay on. Wats causing this has this ever happend to anyone. . .