That's the right idea. I did this connection a few months back connecting to VX flight to SFO in the same terminal and barely made it in 2.5 hours. Expect the lines to be long. 001 landed around the same time as an SA flight from JNB and a JJ flight from GRU. Long line, but amazing people watching.