Woman accused of pretending to be officer