05 Rubi/Unl

I'm putting a 4" lift SA on my rig. Brake lines have to be extended because I don't want them being my limiting straps if you know what I mean. I will not ghetto it by bending my hardlines so I can relocate the mount lower down the frame rail. I don't want to buy some high end braided brake line extensions at the tune of $300.00 or close to. I heard that YJ lines will merry up with TJ lines. True??????? If so is there any other issues that I need to know such as only "X" year YJ lines will work, etc.
Any info will be hugely appreciated. I have 17 days left before Moab and I'm apprehensive about starting this prior to mostly due to this issue. Thanks, much obliged.