If it is the capacitor, Chuck replaced mine when the unit was 4 years old. Even though there was large sticker on the unit that said installed by Munn's, the tech from Chuck Farrell said the capacitor was guaranteed for 10 years. After checking the freon and brushing the inside coils, he replaced the capacitor and charged me $77 for the service call.
This was my first call to Chuck Farrell, it was about 2015. I remember the week before that someone posted on Talk of the Villages that they called Munn's and their 3 year old unit capacitor had gone out, and Munn's charged them $315. So by reading this board I saved about $250 and learned, you don't have to call the place on the sticker and that Chuck Farrell is an honest dude.
Here's a capacitor, $18 on Amazon and free shipping.
https://www.amazon.com/dp/B06XQQBRPW...v_ov_lig_dp_it