Ответ:

С обстоятельством yesterday используется Past Simple, поэтому нужен Did.

Did he go to school yesterday?