I feel you, as I sometimes am also prone to oversharing, but I think I’ve managed to reel it in. It does help that I’m a bit of an introvert, so being quiet is fine for me.
Not trying to sound too rough, but have you given any thought to if what you said/say in a conversation is relevant to the conversation itself?
I think that sometimes the issue isn’t that a person talks too much, it’s just that they start talking disregarding everything else that is going in the conversation and that can leave the other participants feeling overriden.
I also feel that it’s somewhat important to try and have a filter. To think: “Is this remark I’m going to make needed to progress the conversation?”.
Try to recognize that sometimes the best thing one can do in a conversation is to listen and ask questions. It’s fine not to be an active participant if it isn’t necessary.