Tall oil (TOFA) composition depends upon production conditions, mainly it contains oleic acid. (https://en.wikipedia.org/wiki/Tall_oil) If we assume that, structure of main compound in this mixture called "Tall Oil Ethosulfate Quaternary Ammonium compound" will look like that: