I had a 'friend' like this. I'd been listening to her monologues for many years and feeling resentful, but pathetically would never express my feelings about it.
Basically this was a dynamic she enjoyed and which I had enabled - so fault on both sides. But eventually I knew something had to give. I decided I had to assert myself and also let her know (as other people were avoiding her like the plague because she'd never shut up talking about herself and her problems with her husband, would continually vent but never do anything about it).
So the next time I saw her, I let her rattle on for a while, waited for her to draw breath, and I then said, 'Have you ever noticed that it seems really difficult for us to have a two-way conversation?' She initially seemed genuinely surprised and replied, 'Oh, did you want to say something? But you're such a good listener. That's why I talk to you.
(Yes, really! 😂)
Although I felt quite anxious I said, 'Yes, I do like to listen AND I also want to contribute to the conversation, but I find it really hard to find the right space to speak.'
Instead of accepting and reflecting on some useful feedback, she left in a huff. 🤦♀️
Oh well. No great loss.
Another friend took similar feedback from me really well and, after initially being a bit tearful about it, thanked me for letting her know, and since then has genuinely been making the effort to listen and ask more questions. She also now catches herself when falling back into bad habits. Our interactions are now a lot more enjoyable.
My point is: I actually think more people need to give feedback like this rather than just ghosting the chatterbox or whinging about them to others. It could actually be seen as a kindness to let the talkative person know. And if they don't take it well, that's on them - reducing contact is then a definite opinion at that point.
Anyway, just my two cents' worth, and what worked for me, as I was sick of being a resentful doormat and pretending to be fascinated by blowhards. 😬