Barry Cohen, a longtime Palm Beach County judge with a passion for civil rights and an impressive command of the law, died Sunday. He was 74.