Judge charged in drive-by shooting