A man was taken into custody after assaulting a woman and dangling her child off the fire escape in the Bronx Wednesday night.