debby - i think you have answered your own question.
i would have advised trying another keyboard to try to eliminate one possible source of your problem.
you have already done that, with good results.
replace the existing keyboard - standard Windows keyboards can be bought so cheaply these days, sometimes it's not worth the effort cleaning them. I've seen in my local PC shop a standard PC supplies shop a KB for 3.99 !