The suspect said his initial plan to was detonate the explosive on New Year’s Eve, according to court documents.