You may run into some small differences like a different plug here, different wire colors here, etc. But I bet you can make it work with a little effort.
I don't have harness experience with a Contour, but I helped my brother replace the engine in a 93 Eagle Vision (3.5L) with a same year, same model donor car and ended up with a few plug/wire color differences.
We transplanted as many connectors as we could off the old engine, but ended up with 1 or 2 where we had to splice in the old connectors in ourselves.
So if it's out of a junkyard car, try to get as much wiring as possible off the old engine so it will mate plug and play with the harness.