IL this model runs the lights all the time while the mower is running as they are connected to the fuel solenoid circuit.
Question for OP when you said you replace the ignition module are you referring the keyswitch RMC module or is the ignition coil? If the RMC module did you do with a new ignition switch or the old one. Also does the switch have no labels on the key positions. If it one with a picture of a mower in reverse it is the wrong switch.
View attachment 68968