Can the Bitcoin network boycott a misbehaving miner? If a miner misbehaves, can other miners “boycott” him/her by refusing to build on top of his/her blocks in the future? Will such a “boycott” keep the miners from behaving badly?
I'm not sure what you mean by 'misbehaves', but if a miner creates an invalid block, the rest of the network will ignore it. 

And in any case, a specific miner cannot be banned from participating in the network. The network only cares about whether a new block is valid or not, the origin/creator of that block is not even necessarily known. There is no 'ID' or anything like that that links blocks to certain miners. Anyone that submits a valid block hash can create the next block on the network.