Sounds like a mechanical problem with the keyboard - i.e., the 'S' key is literally sticking down and then eventually releasing. I once had a problem when a grain of instant coffee lodged between two keys and stuck them together, so that a press on either typed both characters...
Over time, keyboards get very dirty inside as crap falls between the keys. If the problem is with one key specifically, you can probably solve this by popping the key top off gently with something like a car key and cleaning out any gunk underneath (the key top will fit back on with a firm press). Make sure that key rises cleanly when you release it.
You may need to clean the whole keyboard. A start would be to hold it upside down and shake it gently - you may be surprised by what falls out. Better to do this with the keyboard disconnected, of course.
In the final analysis, keyboards do fail eventually and aren't expensive to replace.