The correct answer to this open question is the following.
The primary paths to a judgeship at the state level are the following.
In the United States, every state has its methods of selecting a judge for the state court. The process of judicial selection includes the guidelines that a candidate must cover to be appointed judge. However, we can talk about four general methods of selection that include the direct election of people where judges have no party affiliation, the election by people of judges that have party affiliation, the election of judges by the state Congress, and the nomination correspond to the government of the state and the candidate must be ratified by the state Congress.
There has been a permanent controversy on the topic of "if state judges should always be elected or appointed by the governeor." What I think is that there would be the possibility of some judges be elected by people, but the other half should be elected by the government of the state, taking into consideration their experience, honesty, and work results.