Those aren't really great examples, considering that Arsenic and Asbestos have been known to be harmful for centuries/millennia.
Thalidomide never even made it to use in the USA.
Fluoride being good for teeth was discovered by fluoride naturally being in the water already
Can't speak for the other two, but I hope you're not basing your fears on stuff like that.