Why is there no electrical power when the van starts but comes on when when the van is turned off and the key is turned back?

Perhaps a bad ignition switch