Final answer:
The figurative language used in the sentence is simile.
Step-by-step explanation:
The sentence compares the way the woman was shaking when sobbing to that of a child who has cried itself to sleep. By saying "shook her, as a child who has cried itself to sleep continues to sob in its dreams", the author is using a simile to create a vivid image and evoke emotions.