The symptoms you reported (pain in middle of back and shortness of breath) might be related to problems with the esophagus.
The quality of the pain might have been helpful. For example, in inflammation of the lower esophagus the pain is usually described as burning and might be provoked when eating, especially when having large meals. The cause for the inflammation of the esophagus (esophagitis) might differ from hiatal hernia and esophageal diverticulosis to gastroesophageal reflux disease. The pain you feel might leave you short of breath.
Middle back pain might also be found in heart problems. But usually there is stabbing chest pain, too. So if you feel stabbing chest pain you are advised to see a doctor as soon as possible.
You might want to visit a specialist for the upper gastrointestinal tract for a physical examination. An x-ray of the esophagus or other visualizing methods such as gastroscopy (visualization of the esophagua and the stomach with a fiber-optic camera inserted through the mouth) might be recommended. The treatment would depend on the diagnosed condition.