Measure the resistance between connector terminals of key warning switch.
Terminal
No. 1 — No. 2:
Is the resistance 1 MΩ or more?
Replace the key warning switch.