I have had a sore throat and extremly painful swallowing for about a month now. I have also started getting earaches with it in the last week.

Need to see MD. These can result from multiple problems, you need to see a doctor for proper diagnosis.
See an ENT doctor. It is time that you made an appointment with an ENT doctor for an evaluation. There are many possibilities for what you have but until somebody who knows what they're doing takes a look in your throat and down your throat it is pointless to speculate.