'98 Honda Accord keeps dying on me

Has it been hot lately or very warm? These particular models have a main fuel relay that can have intermittent failure with temperature changes. It’s under the dash on the drivers side. It just plugs in. It can shut off the fuel supply without warning then suddenly start working again.