the early focus's had bad earth issues with the lights,
theres an earth connection behind a headlight(n/s i think)
the wires look intact but corrode in the terminal, cut the terminal off
and fit new 1, this usualy solves the earth prob,
tbh i dont remember it causing flickering but if its got a dodgy connection it could so worth a try anyhow