Can you replace a 95 Jeep Grand Cherokee 5.2 liter motor with a 96 Jeep Grand Cherokee motor?

Yes, you just have to be sure that all connections are the same along with the sensors. If you need you can swap them with the ones from the old engine.