It is the PCM year and type you are trying to run vs. the engine and the gauges. Something's not talking to something else. Read below:
Don't need to jumper anything if you follow the correct bus type. Look at the link at the bottom labeled "Hotwire" to follow the ECM bus type. It is a simple problem of you've selected the wrong ECM/PCM to use in your TJ. It's all about the details in this swap and the two year computers you've selected are the WRONG years to use, simple as that.
On Dodge RAM trucks, the 1997 ECM is different and will NOT run the gauges in the dash of a 1997-2000 TJ Wrangler. I went with a 1998 ECM to get it to run the gauges. Also the 2002 will not work properly either as it's the wrong bus type (PCI bus vs. ECC bus) so no communications will happen. You need a 1998 or 1999 RAM ECM to work the gauges in your 1999 TJ.
THIS IS YOUR PROBLEM WITH YOUR ECM's YOU'VE SELECTED.
Also look at this chart from hotwire auto to make sure you're using the correct bus architecture ECM for your TJ.
Hotwire swap grid.