yes, the swap is possible with donor vehicle
You will need to remove the 2.3l engine and trans
Remove the cross brace for the 2.3l's engine mount
3.0l engine mount holes should be pre-drilled but can't say for sure
Trans mount should be the same
The 2 Fuel lines should be long enough but may have different ends, one is IN from Pump, the other is OUT to gas tank, don't mix up the 2, lol.
ODBII in 1997 is just for engine operation and trans if automatic
You will need the 3.0l exhaust system swapped over and it will have the 3rd O2 sensor used with OBDII
As said engine and trans needs to be swapped and drive shaft most likely
Most engine bay parts like air cleaning MAF setup
EVAP system may need to be changed
1997 still used VSS on trans or transfer case so not an issue, you can swap over the 1994 speedo cable/VSS unit to use in the 3.0l trans, it will also match current rear axle ratio.
In 1997 the VSS signal ran to GEM, Computer, speedometer and Cruise(if so equipped)
You won't need the GEM since 1997 used transmission VSS but you do need to make sure VSS is connected to pin 58 on Computer, it should be already, but just double check
The dash gauges are all the same, analog, fuel, oil, and temp
If you have a tach that may need to be changed to read correctly.