Ok buddy...
Here is my post from a while ago. I hope it can help you. If you have any specific questions, email me./wwwthreads_images/icons/smile.gif...........
OK, first, the red one coming from your transfer case is the hose for the vacuum source(constant). That will hook up to a hose running behind your air cleaner(not if you have fuel injection) Just look for the small, hard, red line. Take a look and you will probably find the remains or the original red line. Not sure how yours is color coded exactly, but here is the way I set mine up. Take apart the plastic housing around the vacuum harness(don't break it) to see the lines. Connect what seems to match up for now.
1. (blue line) Leave hanging, it has a check valve on it which gets hooked to nothing.
2. (red line) Hooks up to a good constant vacuum source off of the manifold.
3. (green line) goes to the shift motor on the front axle. Horizontal on the shift motor.
4. (black soft vacuum hose) goes to the plug on your firewall by the battery for the 4wd indicator on the dash.
5. (yellow line) goes straight to the shift motor; one of the lines that goes into a two line plug verticle on the shift motor.
6. (black hard line) goes with one of the yellows to the shift motor. Plug located vertically on top.
I hope this helps out a little.
Your best bet is to cough up the $30 that a new vacuum harness costs at the dealer and install that instead of driving yourself insane with broken lines.
Let me know of any more questions or specifics and I will go outside and take some notes on how mine is set up. Because of these lines, I had to drive my YJ in a blizzard in 2wd. Not fun.
This post was from April.
Have fun and good luck
Bryan/wwwthreads_images/icons/crazy.gif
PS. xyj173 will be able to help you also, especially if it ends up being your shift motor on your front axle.