For the out of round pipe, you can try some schedule 40 steel pipe threaded at the same pitch. Especially if it is a tapered pitch you might be able to get it started then the pipe should push it back into shape. Another option would be to put the piece in a vice and try to push it back to round.
The parts are each called a "joint or union". The long 3-way one is joint no. 1 and the smaller 2-way one is joint no. 2. Both parts are unavailable new from toyota. Joint no. 2 is used for the rear heater, so if you don't need that, you might be able to replace joint no. 1 with a straight pipe that will fit.
View attachment 2437242
View attachment 2437255