You navigated it for 20+ years, so I am sure you will find a way to do so for 20+ more years, or hopefully more!
I personally pay slightly more taxes in Canada than I would owe in US, unfortunately because of that, I don't get to apply to foreign earned income credit, I would love to.
So I don't ever owe taxes to US...........
And I know if you work in say Hong Kong, where the taxes are low, you would owe the balance up to your tax bracket in US to US(Minus the FEIC)
But I can't find any examples like you might be in Thailand
Where there is a tax treaty but you pay less tax in US than you would theoretically owe in Thailand
Thai tax residency is not determined by being at least 180 days in Thailand continuously, but by being at least 180 days in Thailand within a calendar year. If this is continuous or not does not matter at all. Only the total number of days counts. So your visa run proposal unfortunately does not work. But you can of course live outside Thailand for the remaining 365 -179 = 186 days and as of today this would avoid tax residency in Thailand