Definitely not guaranteed, but you're a lot closer to something that might work if its from the same series. The 4g6x series was in production for over 25 years and there were quite a few change over that time. Some are interchangable without and changes, some require minor changes and others require alot of work and not worth the effort.
What was the donor car/year for the 4g63 engine you are rebuilding?