The suspect accused of lobbing a bomb inside the Santa Maria courthouse and injuring five people Wednesday was planning to kill sheriff's deputies and a judge before his scheduled arraignment on a weapons charge later that morning, authorities said.