First question, how do you know it has a blown head gasket?
The blocks are the same. Only thing will be different is some of the sensors. As a precautionary, always transfer over ALL over your 97 sensors. MAF, MAP, TPS, IAC, CAM, CRANK, KNOCK, IGNITION to the new engine.