If your story is true, you simply need to get a good attorney to handle your appeal. The fact that the judge was changed is irrelevant, this sometimes happens if the assigned judge is sick, too busy, etc. But if the trial before this judge was genuinely unfair, you have grounds for an appeal. A good attorney would need to go over the record of the trial to see what was unfair about it, and whether you would win the appeal.
Karl E. V. Paananen
You need to contact a local attorney as your 'facts' just don't fit into the rules. Under the California Welfare and Instutution's 300 code, your parental rights would not have been terminated for what you have indicated. As to the placement of your child, after your rights have been terminated your relatives do not have to be considered for placement. You NEED to see an attorney who can ask you some tough questions and review the record.