Car stalls

Why my 92Honda accord lx stalls when the d4 light flashes

You haven’t given us enough information to go on. Does the check engine light come on? How often does it stall? When did it start? Have you had the transmission codes read (the flashing D4 is an indication that there’s a fault somewhere - the transmission computer will store information about that fault. Have the codes read and get back to us.

clintT, perhaps you think this is a search engine? Its a discussion board. Just folks that you can talk to.

But, yes, as shadowfax noted, it seems clear that you need a transmission shop.