In loco parentis is the term adopted in the Arizona statute to describe this situation.
The step-parent would request child custody or visitation as part of a divorce or legal separation proceeding in the Arizona family court.