Hello, thanks for the query.
Might be pain in pharynx when something is passing as food and water ( as you mentioned esophagus).
This is due to pharyngitis
which might be not treated properly.
After consultation with a doctor take another round of treatment for throat infection
A s far as concerned about cough which reoccurs , pl note down that it might be an allergic cough
or due to asthmatics allergic bronchitis
( a common problem now a day).
Get in an X ray of chest with blood examination and than consult a doctor an take treatment.
Good luck. Dr. HET