To diagnose a fuel pump issue, you should:
* Check the fuel pump fuse: This is the first step. A blown fuse will prevent the pump from operating. Consult your owner's manual for the fuse location and rating.
* Use a multimeter: Test for power at the fuel pump itself. This will tell you if the problem is with the wiring, the PCM, or the pump itself.
* Consult a wiring diagram: A wiring diagram specific to your 1997 Grand Am 3.1L is crucial. This diagram will show how the PCM, various relays, and the fuel pump are interconnected. You can often find these diagrams online (though accuracy isn't guaranteed) or through a repair manual.
* Professional Diagnosis: If you're not comfortable working with automotive electronics, take it to a mechanic. They have the tools and experience to properly diagnose the problem.
Trying to find a specific relay without a wiring diagram is unlikely to be successful. The fuel pump's operation is part of a larger system.