Police say they plan to charge four 17-year-old high school students from Uxbridge with building and detonating a pair of homemade explosive devices in Mendon.