If you swallow a pill and gets stuck in your windpipe, will it eventually dissolve?

See note. The more likely scenario that I have seen consulted on are cases of multiple pills got stuck in the cervical esophagus. They'll dissolve and pass over night. Without digestive enzymes, a pill in the windpipe will take a very long time to dissolve and pneumonia can set in. It should be removed surgically!
Depends. On the pill ... Some will dissolve, a few may not ... But if really in your windpipe, it should cause you to cough it out or else it will cause breathing problems and need to be removed by bronchoscopy ...