The former Brazilian president has been charged with attempting a coup after his 2022 election loss.