Gregory Paul Ulrich, a longtime Buffalo, Minnesota, resident, was charged Thursday with second-degree intentional murder, four counts of attempted first-degree attempted murder, possession of an explosive or incendiary device and carrying a pistol without a permit.