jeepin916,
Firemanharry gave you the straight skinny: in addition to the wiring paths, you must also contend with sending unit to dash gauge compatibility issues. The SB 350 into Jeep swap is so common that somebody will surely come along to give you the required info for gauge hookup in a TJ.
In the meantime, what follows might or might not be applicable to your situation, but for what it is worth: before the present "Bubbacon Edition" 85, CJ-7 entered in my life, there was a "Testosteroneacon Edition." An 82, CJ-7 with Chevy 350, HD-four speed, manhole cover sized Holly carb, headers -- all the usual stuff.
Here is how I met the dash gauge wiring challenge:
Voltage Gauge: No wiring modification required. Worked just by virtue of hooking up the starting-charging-ignition systems.
Oil Pressure Gauge: under dash mechanical aftermarket gauge.
Temperature Gauge: under dash mechanical aftermarket gauge. Engine end screwed into the 350 block below exhaust manifold between the 1 and 3 cylinders via a hardware store common plumbing fitting.
Gas Gauge: underdash mechanical gauge selected on the basis of the stock gas tank sending unit resistance values.
(Note: The OEM gas and temp gauges were fried before the engine swap. It was less expensive to go with aftermarket replacements.)
I realize that you would likely prefer to use your OEM in-dash gauges and none of the above deals with possible computer issues, but if the info you need is not provided or if you are in a big hurry to get your Jeep on the road with working gauges, the above work-arounds might prove useful.
Regards,
Gadget