4f-3d interaction dominated field tailoring spin switching in rare earth doped Dy0.5Er0.5FeO3 single crystal