yes that is your heater control valve. you can not drive your vehicle now as your broke that valve before the valve and you have no way to stop coolant from pouring out of the hose. you would need to some how plug that hose in order to drive your vehicle now. i suggest buying a new one from toyota ASAP that plastic gets old and brittle. id also suggest replacing all the associated heater hoses with that valve
i had mine break, fortunately i was in the process or replacing it when mine broke. -i had noticed it starting to leak coolant so i just bought a new valve and hoses, and all was good.