This is GREAT advise. First, figure out what the problem is. That might take some time and effort. If it is the ECM you have options -- junk yard, do-it-yourself, rebuild. Either way, keep in touch -- and consider a spare if you want to keep it going long term -- like me!!!!!!!!
DO NOT start replacing things Willy-Nilly assuming they are the problem. Figure out what is the problem FIRST!!!! If it is a BAD ECU, it can shut everything down!