The physical key will need to be fixed, but as a temporary solution, go to Settings ➜ Ease of Access ➜ Keyboard (scroll all the way down) and turn on Filter Keys.
This will prevent the holding down of a key to continue register many repeated keystrokes.