I am converting my truck from electric push button 4x4 to manual shift 4x4. what do I need to change so when I'm in 4-lo my trans wont go to limp mode? or is there a way to wire in a series of switches so the PCM knows when I'm in 2wd 4hi N and 4lo?

truck is a 2003 lb7 with 5 spd Allison 1k

thank you in advance