I ran into this problem before on a customers' car. Everyone already mention the main relay. If you replaced this and it still dies on you, check the distributor and your ignition swtich, I had a customer car that I checked everything, replaced the main relay and rebuilt the distributor even tested it on another car..wasn't it. Come to find out when I replaced the ignition switch, it solved the problem. Honda got some recall on them on certain model.