Question: how to change your name and gender in pennsylvania?
Answer: A "Request for Gender Change" form, indicating male, female, or non-binary/other (X)
If changing the name, a court order certifying the name change.