A 25-year-old Kosovo-born American has been charged with plotting to attack nightclubs and a sheriff's office with bombs and guns.