Field tunable spin switching in perovskite YbFeO3 single crystal