It's going to be something electrical, specifically in the harness for cylinder 5. Likely something intermittent, which makes finding it with a continuity check difficult.
One thing you can be sure it's not, though, is your new key.
One thing you can be sure it's not, though, is your new key.