Can I drive a rented golf cart on the street in Brooklyn?

Only where state and local law allow it. In most places a standard golf cart is limited to private property and specially designated streets, while a street-legal low-speed vehicle can use roads with lower speed limits.
A low-speed vehicle has headlights, turn signals, mirrors, seat belts and a registration, and tops out around 25 mph. Ask the supplier which type you are renting, then check New York law and Brooklyn rules for where it can go. For events and private sites in Brooklyn, a standard cart is usually all you need. Tell the supplier how many seats you need and whether you want gas or electric. People in and around Brooklyn search for this about 110 times a month, the #6 most searched rental here.
Full guide: Golf Cart Rental