How long does it take to change primary custody in Washington state if both parents agree to the change?

Long enough to get the papers amended and signed and get it put on the docket of the family court in the county in which you live.