Prosecutors said police found an arsenal of homemade guns and explosives in an apartment in Queens, New York.