There are 3 position switches on the transfer case, you indicated only replacing only 2.
It is the switch on the front controls the CDL dash light. Is your diagnostic based upon this light or have you actually determined the center is locked some other way?
2 switches are on the rear extension of transfer case, looking forward from the rear on the left side is the neutral position indicator, the one on the right side is the 4LOW position switch that initiates the locking of the CDL. That could be stuck on or have a wiring fault.
Adding a CDL dash switch is not going to solve the problem but may make debugging easier as you don't have to switch to low range. The pin 7 mod is not something to do when you're trying to solve a problem.
Without adding a dash switch you can do several debugging steps to eliminate faulty wiring, listening for relay sounds all without having to run the engine, just by unplugging the various connectors.
There are multiple threads that go through the process. Search is your friend. Logically proceed each function. Right now you appear to just be firing the parts canyon.