A federal trial judge sitting by designation on an appeals court panel swapped the name of a victim and the perpetrator of her sexual assault in an opinion released Friday.