Do you mean "block," or do you mean "engine"?
The block is fully compatible and can be swapped.
The head is different. The ports may be shaped or located slightly differently, which could cause some difficulty in mating up with your manifolds. If you keep the '99 manifolds on the '99 engine, you just get to deal with sensor issues. The '99 doesn't use a temp sender in the head for the gauges -- the gauges in the '99 get data from a central data bus (the PCM, in other words). Your '91 has a temp sender in the left rear corner of the head for the gauges.
Also, externals like power steering pump attach differently on the '99 engine than on the '91.