Keep in mind that using the LM350, a linear regulator, with a voltage drop of 19-5=14 volts, the regulator will generate about three times as much heat as the Pi itself. Assuming a Pi4 at 500 mA idle current draw, that's 7 Watts of heat. Might be better off with a buck regulator, such as the LM2576...