Contacting the dealership is a good idea... Just maybe the 94-97 engines are identical or close too it, like all wire harnesses, ECU, bolt patterns, etc. I severly dought that the 97 motor will just drop right in and everything magically hookup, but it is worth a try, you just never know...
Example - Just a few weaks ago I was looking for a replacement swap tranny for my SC400...I was able to locate a 93 SC4 tranny for $300 but wasn't sure it would hookup with my 1992 car...I called the dealership and they told me the trannies were identical from 1992-1994... That one call made it happen for me...