The incident happened last night on Östra Strandpromenaden, in Linköping.
Passers by stepped in to help keep the woman away from the child. They were also able, with difficulty, to keep hold of the woman until the police arrived and arrested her. No one was seriously injured.
The attacker has now been arrested, suspected of kidnapping and assault.