If you get parked at Terminal B you'll have a harder time making it "comfortably" as you have to recover your bag and recheck in Term B and then transfer via Airtrain or even walk to C. If you get parked at C it'll be a piece of cake the recheck counter is right outside as you exit customs, then go upstairs thru security and you're done.
Generally EDI will park at C but if things are balled up there's no telling.