1) Remove the ignition key from the ignition switch.
2) Measure the resistance between key warning switch connector terminals.
Connector & terminal
No. 3 — No. 4:
Is the resistance 1 MΩ or more?
Replace the key warning switch.