Former public defender
The governor appoints justices recommended by a judicial nominating commission, which consists of nine Rhode Island residents, at least four of whom are attorneys, appointed by the governor and various legislative leaders. Appointed justices must be approved by a majority of both the state house and state senate. Confirmed justices have lifetime tenure.
Selection method sources:
Ballotpedia, Judicial Election Methods By State; Brennan Center for Justice, Judicial Selection: An Interactive Map; State of Rhode Island, Judicial Nominating Commission