You will need a 98-02 GTP PCM

The 97 GTP PCM is different

Why would you want to swap engines?