Q:

Did an African American invent the stoplight

Answer

Yes, his name was Garrett Augustus Morgan, Sr, an African American. His technology was the basis of modern-day traffic signals.