Once you're in law school, there is usually a career office dedicated to assisting with internships and careers. Visit with them , explain your plan, and see where they suggest. Also, make top grades- that's very important to be considered for prestigious positions, and you need those to be eligible to be a judge (unless you're appointed, in which case, you should cultivate political contacts). I think you should concentrate on the area of law you want to practice and let that influence the direction you go for a judgeship. Your career counselor or dean at the law school can assist with setting you up for success- I recommend you make an appointment, and hit the books! Also, don't overlook participating in law school activities, volunteering and other law-related organizations are a great way to meet people who may become influential in the future.