It clearly looks a member of the Pea family (fabaceae).
It was growing on a waste or clearance land in a rainforest area in Paraty. It was tall,( around 2 m) airy and very broad too.
I just realised you can search for the region too which makes it much easier than clicking on all the species in the list! It certainly makes an easier job of it if you know the genus.