Toyota 4Runner license plate light stays on

New to the group, hope I can learn from someone else's fun
Tthe license plate light will sometimes stay on all the time after I shut off vehicle. The only way to get it to go out is turn the ignition switch on and then back off, then light will go out. This seems to happen more frequent when I use the key fob to lock doors and set factory alarm
0