I often choke on saliva. It happens often to anxious people like me who don't stop and take the time necessary to swallow properly. But what you're describing doesn't sound like that, it just makes me cough.
So you have a choking sensation sometimes when you swallow? Trying to understand what is happening. Something called globus dysphagia (fancy word, you know how they do that, big words for every day things) . https://www.mayoclinic.org/diseases-conditions/dysphagia/symptoms-causes/syc-20372028 The description in this article doesn't really sound like it as it is the extreme situation of not being able to swallow. Talk to your doctor about it. They will check on things like if you have Gerd which can commonly cause this, esophageal stricture or narrowing or various other things. Here's an article on choking on saliva. https://www.healthline.com/health/choking-on-saliva#causes Gerd is the number one thing that causes that. Muscle weakness is another cause. I think too, we can start to hyper focus and become anxious to the point we make a problem worse. Your best bet is to talk to your doctor about this and start tracking when it happens.