Man charged in attempt to obtain gun to shoot Carter County