The Common Event command runs the contents of the specified common event as a sub-process of the event that called it: I imagine that's the problem here.
Do not use the Common Event command for this. Just have your map event turn on switch 22.
You should probably turn off the switch at the end of the common event, too. Active Parallel/Autorun events trigger every frame they are not already running: if you never turn off the switch then the poison will continue indefinitely.
Also, note that if the player changes map while the switch is on, any active Parallel event will restart from its first command. To work around this, you can use a variable to count the damage ticks, then end when appropriate, e.g.
Spoiler: event example
◆Comment:Initialise poison tick counter.
: :(Could alternatively do this in the "calling" event).
◆Control Variables:#0001 Snakehit Poison = 0
◆Loop
◆Comment:Advance tick counter.
◆Control Variables:#0001 Snakehit Poison += 1
◆If:Snakehit Poison = 1
◆Comment:Initial strike.
◆Show Animation:Player, Poison 1
◆Wait:110 frames
◆
:Else
◆If:Snakehit Poison = 2
◆Comment:Poison sets in.
◆Show Animation:Player, Poison 2
◆
:End
◆Comment:Apply damage.
◆Change HP:Komoi, - 20
◆If:Snakehit Poison ≥ 6
◆Comment:This was the final tick.
◆Break Loop
◆
:Else
◆Comment:Stun for 10 frames, wait until next tick.
◆Set Movement Route:Player
: :◇Wait:10 frames
◆Wait:100 frames
◆
:End
◆
:End
◆
:Repeat Above
◆Comment:Do once per poisoning.
◆Control Switches:#0022 Snakehit = OFF
[Edit: changed where counter variable gets increased in event example. Before it only increased immediately after damage was dealt, meaning it never progressed because the first tick doesn't deal damage.
😴]