EMS, not ECM system. IF the compressor is indeed turning ON and then turning OFF, then the capacitor is not the problem. The problem is probably a bad compressor and the compressor overload is kicking it out. But, a Capacitor is a cheap quick attempt without having the proper tools for a correct diagnosis. Does your EMS have an AMP readout? If so, watch the amp readout when the compressor starts and then kicks out. That will tell you what the amp draw is on the compressor after start up and it is running for that few seconds. IF it starts and runs for a few seconds and the amp draw is higher than 15 amps(amp draw added with other amp draws), the compressor is bad.
You look at the EMS readout with the ac off and lets say it reads 17 amps. You start the AC and you will see a 3 amp added for the fan motor-- now you show 20 amps. When the compressor kicks on you will see a spike above 50 for a millisecond, as the start capacitor kicks it on. Then, IF the amp reading is over 33 to 35 amps when the compressor is on and then slowly rises, then your compressor is bad. Doug