I have a migrated mirena IUD that has been in for 5 years and 8months and hasn't been removed yet could it get infected?

Mirena? If it has migrated then it has to be removed for sure, regardless of how long it's been there. If it has been in the uterus for 5 years and it was a Mirena then it would be time to remove it.