The question

I have worked for ETSU for 5 years. I have always received good reviews. I was a site coordinator for a speech and hearing clinic. After contracting covid, I had to have an accommodation for work, intermittent leave, and currently full FMLA leave starting Nov 1. Today, I was called in to meet with my supervisor and was given a termination letter dated Nov 13. The reason is for restructuring the dept. They eliminated my position, however they are posting a job for someone to do my job duties, just with a different job title. Is this legal?