In SQLite, you may escape the object name (e.g. table, column, database, etc.) using the double quotes, so try:
name = "A.J._Doe"
sql = 'SELECT * FROM "' + name + '"'
pd.read_sql_query(sql, conn)
If you want to know more about the Data Science then do check out the following Data Science which will help you in understanding Data Science from scratch