The current transportation system is largely through taxes and no not gas taxes. The way it works is that gas taxes and Federal funds are used to pay for interstates, arterials, and collector roads in almost every state and MSA in the US (pretty much any municipality big enough to apply for transportation grants.) The Federal government then helps fund road construction while states and consequently cities take the maintenance burden on. Maintenance itself is paid for through a combination of gas and state taxes along with Federal grants which are also based on other taxes.
The current system is already largely funded through taxation. It's just a matter of whether you think those taxes should be spent on creating and maintaining roads or whether you think they should be spent on transit. The closest to use taxes we have is the gas tax and the Federal one hasn't been raised since 1993 (state taxes differ per state and have been raised more recently.)
If you really want to move away from "socialism" or whatever, then make infrastructure toll based in the US. You'll find though that toll roads are highly unpopular.
The part of the parents comment that was directed at was "Instead of spending money on the people. We are spending it on stupid car centric infrastructure. Forget mental health, social support, universal basic income..."
One example of this is Japan, where nearly all of the highways are privatized and tolled. To get to the nearest metropolis to me I can either drive for 3.5 hours and pay $60 in tolls+gas, or ride the bullet train for 1.5 hours for $70. (Now as soon as you have a family of people in that car, the train starts looking really expensive, but for business travelers it's a no-brainer)
Ultimately, using the term 'socialism' is a useless label especially when it is misapplied. It is better to discuss specific policies and details.
This is a classic socialist point, one I feel the need to call out.
Yes, there is a decision on what to encourage, and I think it's important to acknowledge that density inherently comes with more restrictions.
Density can support things like live theaters. It's hard to support theater in the countryside. How about restaurants? Can't really have the plethora of options without a large population. How do you afford state of the art hospitals? You need a large enough population density to make supporting these hospitals viable.
If you say it's socialist or capitalist or <ideology> you're really only hamstringing yourself in discussion about urbanism, making the entire discussion nonsensical.
Roads and highways are worth the expense, I am not convinced when it comes to many other public infrastructure or services.