If the Engine Control Unit requires replacement (an extremely difficult and somewhat specialist job to repair - if indeed it is repairable), then consider renewing some or all of the related components at the same time, a second failure due to an imperfect secondary and/or ancillary component does not bear considering!
Other related items you may wish to consider: