It’s benefiting the residents who use the improved public transit.
If you want to do a Pigovian tax, do a Pigovian tax properly. If you want to do congestion pricing, make it budget neutral to users. If you want transfer payments, do that and call it that.