Misfire cylinder#4 1997 chevy cavalier

Thanks for the advice, I checked the compression with a compression gauge and all four cylinders have good compression. The strangest thing though, after performing the compression test now the engine won’t stay running,it runs for a minute then shuts off like it is running out of gas. It stayed running before I did the compression test, now all of a sudden it is like it isn’t getting enough fuel.what could I have messed up to cause this? I had the fuel pump relay out while I was doing the compression test. could this have done danage to the fuel pump?