You can take a chance on buying a replacement keyboard for it and swapping it out, but sorry to say there are no quick fixes for a problem like this, and due to the nature of the system overheating leading up to this, there is no guarantee that swapping out the keyboard would cure it. However if the keyboard is troubled, swapping it out with the correct one would fix it.
Question I have is, would your employer buy you a new computer to use for work?
If you are self employed you can buy a new one and write it off as a business expense also.