Node "Event BeginPlay" AND Node "Do N"

Begin play runs once, that’s what it’s for.

Tick is total overkill to turn a light on and off.

What would work well is a timer:

If you want to stop after N times: