I think I have fixed close to a thousand times. How? Get a new keyboard and install the new keyboard.

Here these run from 10 to 100 USD and worth it since you save the laptop from the bin. On such old laptops we often put in a SSD to replace the old slow HDD and the performance is very nice and a laptop that someone will want to use.