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