Man charged with attempting to assassinate Trump will appear in court