YJ Production ended in December 1995, TJ Production began after about a month of updates to the assembly line in January 1996.
1997 TJs were built from January 1996 until June 1997. No TJs sold by a dealership was built in 1995.
Some late built '95 YJs had some TJ parts, such as the new hood bumpers, TJs did not have any YJ carry over parts that were not intended to continue on the model.
There were both new YJs and TJs on most Jeep dealer lots until the middle of 1996.
The official unveiling of the TJ was on January 2, 1996, at the 1996 Detroit Auto Show, although some leaked spy pics had been circulating, official press pics of prototypes were released on embargo right before Christmas 1995.
Any TJ built in 1995 was a prototype and should have been crushed or kept by Chrysler for historical purposes only.
A 1997 manufactured TJ might even be a bit better than a 1996, but I would not sweat either. They are now a quarter century old, any problems have been sorted.