It's uncommon. pgy5 is very late—latest I can recall seeing is pgy3. Usual reasons are: program A loses a resident, resident from program B applies to fill the spot; or program C disbands, residents scatter and transfer into programs D,E,F, etc.
There's often a pgy mismatch between the resident and the open spot so when a transfer happens it's common for the resident to lose a year or more