You can check a pharmacopeia, if it specifies how to determine adulterants in sulfated castor oil. You'll be required to do that, if you expect to sell this castor oil, as a pharmaceutical. There may also be ASTM testing protocols available. A purchaser may expect you to follow such testing protocols, especially if you claim to be doing so.
You have to check to use 1 m or 0,1 m HCl.
If you're just curious, you can design a titration on your own, as was described here. You start with a balanced reaction. You make a guess as to how much caustic there is. You consider how big of a sample you can handle, and determine which concentration will keep the reaction volume reasonable. You can test that it works, by spiking some caustic into water. And again, by spiking some into some sulfated castor oil that you know is clean. You can also test your precision.