Account A will not be banned if you do not bot. However, if Account B gets banned for macroing, your IP will be flagged as a "botting IP", and if you do decide to bot on Account A, you will have a higher chance of being detected and banned on that account.