AMC stopped existing in 1987. The last AMC branded Wranglers were YJs manufactured in 1986 until the buyout. After that, everything became Chrysler.
Your engine looks to have been produced on the 206th day of 1998, which suggests that it is original to your 1998 TJ.