Yes, she can be appointed as judge, but it is makrooh tahrimi, i.e. doing so is near haram. It is mentioned in hadith:
لن ÙŠÙÙ„Ø Ù‚ÙˆÙ… ولوا امرأة بخاري شريÙ
It means that a nation that makes a woman their ruler will never succeed, hence woman should not be appointed as judge.