Lots of question that only you can answer:
Do you have enough cash on hand to stay current with your loans and other payments while also laying out the money for hiking? Plus a few months minimum after you are done and looking for work?
A "good" salary is a very subjective thing. It varies a lot based upon personal perception, the field you are in, geographical norms, etc. What is "good" in your field?
Would the job allow you to save enough to both hike and prepay the loan payment for a full year. Because you may not find work right away after returning.
How much demand is there in the job market for people with your degree at your level?
How good are your transcripts? Where do you stand in relation to the competition for jobs?
Have you done much long distance or even section hiking? 100% of people who start a thru-hike think they'll finish. Only 20% actually finish. Most are off the trail before Harper's Ferry. What is plan B if you drop off the trail?
But most importantly, what kind of life do you see yourself building? Balancing life and work is never easy.