So have you tried another keyboard as suggested by PP?
I definitely think we can rule out malware. I am very much leaning toward a hardware problem, probably with the keyboard. Obviously, this is something that will stick with a machine after multiple formats.
Definitely try a different keyboard.
-- Also, what happens when you press Ctrl + N?
PP :)