I’m a former WSO/EWO. I was never a pilot. But I often flew at the controls of an F4 or F111. I could not have been the PIC because I was rated as a navigator.
PIC is not related to who has the stick - or yoke, in this case.
That is true, because under 14 CFR ยง 135.243 Pilot in command qualifications, you did not have pilot's license with a class rating for the F4 or F111. If you did have a pilot's license and class rating, you would have been the PIC and could have logged that time as such.
She, on the other hand, was a licensed commercial pilot with an ATP certificate with the appropriate category and class rating. She was the PIC.