US judge charged with aiding undocumented immigrant in escape