Whether you extend at Immigration or bounce out and back makes no difference. If you spend 180 days inside Thailand in any tax year you automatically become Thai tax resident. Now whether you will have a tax liability is a different matter and depends on your personal financial situation, your nationality, if a DTA is in place, the source of any remitted funds and the visa you are on. Tax paid in one jurisdiction may be credited against tax liability in the other jurisdiction depending on the wording inside a DTA.
the topic was tax residency NOT tax liability. Oh yeah if an LTR holder remits foreign income in the tax year it was earned it’s taxable. The exemption only applies to income remitted from a previous tax year according to BOI regulations, of course not to be confused with the Revenue announcement on a similar topic.
now that we have moved past tax residency we are on to the topic of tax liability. That depends on your personal financial situation, your DTA, your source of remitted funds and yes your visa status.