burner igniter

This is my 2nd posting. Could sure use some help. When I turn the burner knob to the lite position the burner will click or spark for a few seconds and then stop. I have located the module and have the part #, but i want to make sure it is the module. Clicking is sporadic and works sometimes and sometimes not. Any advice? Thanks