Is she on flea prevention? Wearing a flea / tick collar? Using a topical? These can and do cause nerve damage in some dogs. Head shaking is classic side effect of those drugs. What about ear mites? have you checked for that? Had recent vaccines?