Let's keep it simple, is the shifter linkage setup correctly.
You say it is lifted, did you do a TC drop? That will change the angle and adjustment to your 4WD linkage.
Normally, I shift into 2WD BEFORE I get onto pavement. Then, I let up on the gas so the gears can get unmeshed. Then, I will...