econd judicial department shall, and the presiding justice of the appellate division of the third and fourth judicial departments may assign one or more justices of the supreme court to sit at such offices of the board of elections and such other locations as may be designated to hear and determine all cases arising under this chapter relating to eligibility for voting of such election.