for that to be obd2 compliant you should just buy a factory ecm for it. it will need the obd2 connector under the dash, it will have to function when plugged in to. you will also need every sensor and wire off the donor motor, including oxygen sensors, and the check engine light has to function, and not have any codes present. some states the ecm has to be programmed to reflect the vehicle it is in. the inspection site will plug in, and in some states if the ecm says chevy truck, and its in a jeep, you fail. it is no easy task these days.
in my state pre 96 vehicles do not get inspected, thats why i'm happy with my yj.