Brazil announced a $64-billion infrastructure spending package on Tuesday, hoping to revive its flagging economy with investment in highways, railroads, ports and airports.