if you want you can determine quickly if its the switch without actually taking everything apart.
just unplug the connector from the back of the ignition switch that is in the car now, plug it directly into the new switch without properly installing it.
use the car key to unlock the steering lock (but wont start the car now since the installed ignition switch isnt actually plugged into anything), and turn on the new ignition switch with a spare key or flat head or whatever.
if it still does it, it isnt the switch. then you can just unplug the switch and return it, plug it all back in as its supposed to be and keep chasing..........