I found the problem,even though my ohm meter showed a connection across the brake switch when I pressed on the brake,I guess it was not letting enough voltage through to energize the solenoid..
I jumped across the wires that plug to the brake switch and everything worked fine,started right up.
I think this switch is the same as some cars have as a brake light switch,I will buy one from auto zone or at the popo dealer..