Green’s Dictionary of Slang

well, I’ll be dipped in shit! excl.

[shit n. (1a)]

(US) a general excl. of surprise, amazement.

[US]G.L. Coon Meanwhile, Back at the Front (1962) 10: I’ll be dipped in shit. I’ll be the only man in history got a Purple Heart on the way to a whorehouse.
[US](con. 1969) M. Herr Dispatches 40: Leaving him with [...] helpless amazement on his face, ‘Well I’ll be dipped in shit!’.
[US](con. 1970) J.M. Del Vecchio 13th Valley (1983) 159: ‘Well I’ll be dipped in shit,’ Garbageman said.
[US](con. 1969) W.E. Merritt Where the Rivers Ran Backward 271: Well, I’ll be dipped in shit.