Have you tried to clean or open the keyswitch to see what’s happen inthere ?
See @jesse post about how to clean a switch : maybe just a dust in the contact part
If it don’t work, you can still open the switch to clean the inside : be aware that is not a difficult thing, but it has to be done carefully, to avoid damaging the key-switch and having to resold an other one (which is an other level of maintenance !). You can try the method used to replace the inside mechanism, and remount the original one (after a good cleaning)