91 honda accord fuel pump or not?

i have a 91 honda accord and it is starting to act up,when i step on the gas it acts like it has no gas and if i shut it off it won’t start til it sets awhile,can this be the fuel pump going out?

Have you changed filter?
You can have fuel pressure checked.
When it does not start have someone turn key on and off but not all the way to start and listen at rear fender for hum from pump.
Also look for loose or dirty connections.

It could be your pump but Hondas are notorious for bad fuel pump relays.