It only took five days into 2017 for a major company to embarrass itself on social media.

On Jan. 5, Yahoo Finance accidentally posted a tweet containing a racial slur — and it took the company nearly an hour to take it down. When discussing Donald Trump’s plans to expand the…