2007 Hyundai Sonata - Switch issues

Replaced 2 new switches, sometime switch will not turn on engine to start.

While it’s possible to get two bad ignition switches in a row it’s more likely something else is the problem. What troubleshooting/diagnostics have you done/had done?