In order to change party affiliation, a voter must re-register to vote. (Party affiliations can be changed up to 11 days prior to a primary election.) The next scheduled Primary Election is June 30th – the deadline to change party affiliation for the June Primary is June 19th.
When using the online registration form look for this section
You must select one of the registered Political Parties or choose Unaffiliated