I don’t think historians buy into that claim by that author, that John Randolph was a Muslim.
Which author, David Barton or Hugh A. Garland (1860)? Garland’s book is online, I just googled and found it, read his letter of his conversion to Key.