Get the 'emergency 4wd' switch from any SJ or CJ equipped with the Quadratrac 4wd. Easy to identify the donor jeep by the offset rear diff. I've seen them on Ebay too, but not lately.
The switch is either a dial (CJ) or lever (SJ). Mines the lever, looks almost identical to the fan speed switch in a YJ. Important thing is they have 3 vacuum ports, 1 is input and 2 are outputs. Mount it to your dash and attach the input line (red vacuum line across firewall from manifold to battery area). Then splice the outputs to the two black vacuum lines running to the front axle from the transfer case, spliced mine along the passenger frame rail just inside of the shock tower.
Easy, about a 30 minute install. It's very easy to troubleshoot problems and very easy to return to stock by moving the vacuum lines back where needed. 3wd is just a throw of the lever and the little 'ppppfffffttttt' you hear at the switch when the vacuum releases.