to me this seems like PANS, since the cause was the ear infection, which may not be strep.
my first question would not be if this is PANS or PANDAS condition but what you should do in addition to trying to find the right dr. who can help you understand the symptoms and offer some treatment.
Your child reminds me a lot of our son who was finally, at 8 years old, diagnosed with ASD -- highly functioning.
whatever it is, it seems that inflammation is a part of it and so, in your place, I would try to lower it. that would include changing food she eats at least for some time, and starting on antiinflammatories. we had some success with hi EPA fish oil, ibuprofen, and low sugar, no gluten or dairy.