This may be redundant but trying to clarify some things to better diagnosis the problem.
So if you are saying switch are you referring to the ignition switch? If so are you getting lights to the EHC? Also you said you can get it to crank, do you mean jumper from battery to starter or slam button? Or do you mean that the crank with switches switches at bar but doesn't fire up?
If ignition is good (power to and from) - check wiring from ignition to EHC making sure it is getting supplied power (also checking breaker or fuse between battery and EHC).
If wiring is good and fuse/breaker are good then you should be getting some lights on with the EHC. If getting power but no lights get a new EHC. Also when you turn the ignition switch on the headlight signals and gauge should all power up. If they do not then either a wiring or EHC issue.
If the bike cranks with the controls (ie ignition on, run switch then start switch depressed, cranks) but does not fire then that is either a fuel or spark issue and check to make sure sparkplug is getting power (pull a plug and crank to see spark) If spark plug has power check fuel. If no spark go through the electrical system to the coil (often times I have found that it is a crank position sensor or the wiring to, that is keeping it from getting signal to send power to coil/spark).
If EHC has power (lights) but does not crank might be the switches and/or wiring at the handlebars. If this is the case easiest way is to start by checking switches in the bars and or replacing.
