A former judge has taken the stand to testify against a high-profile attorney accused in Cameron County's cash for court favors scandal.