Simple to replace:
Remove electrical connector and one bolt, then pull it out.
Reverse to install.
However, rather than throwing parts at a problem and hoping you strike it rich, a basic diagnosis; such as pulling a plug and checking for fuel/spark, might be a better place to start.
Was fuel cut-off switch found tripped?
p.s. One continuos thread on a problem is preferred.