My friend donated her kidney last year. She was just diagnosed with thyroid dysfunction. Can they be related?

No. Thyroid disease is usually autoimmune. Look for other family members with thyroid disease. Likely coincidence they occurred together.