I mean that's a bus or Bus Rapid Transit, because a train requires dedicated infrastructure and is a fixed route. A bus can route around problems where a train cannot.
In Boston they're trying to connect North Station and South Station, a distance of about 5 miles. The cost is at least $10 billion.