Welcome .
It would really, really, really,really, really, really, really, really, really, really, really, help if we knew which engine you have rather than having to guess from the colour of the wires
So I will assume that this is a B & S ENGINE
I will assume it has the rectifier regulator...