I would say do the surgery.

Never had this particular experience with a stomach cyst.

Maybe a second opinion (????) and then get it corrected.

Leaving a dog to be sickly never ends well.

Best of luck.

EWO