Pedestrian almost hit in Brampton