It is common for electric coils on a range top to click/on/off. They are suppose to reach a certain heating range and when satisfied, they go neutral and when the demand for heat is needed, they become energized again.
The spark module is in the ignition circuit for the gas burners. When a burner control knob is turned to the Lite position, it provides voltage to the spark electrodes on the gas burners. If the spark module fails to provide the electrodes with voltage, then it should be replaced.