If you are using a Grove ToF from Seeed there are pads to add a two pin header for the Xshutdown input and Interrupt output pins. You can use another GPIO to disable the first ToF while you program the second one to a different address. You do have to reprogram it every time you power up. Probably just easier to get the PaHUB.
Best posts made by ralphjy
RE: How to connect 2 ToF Sensors to a M5Stack Fire