What problem caused you to change the switch? Is the new switch OEM? Check the condition of the wiring. Does the new switch have individual terminals or is it a plug, if individual confirm they're correctly landed, review your wiring diagram. I'd suggest disconnecting the glow plugs and putting a test light until you correct the issue.