Did Ayn Rand believe in God?

No. Ayn Rand was an athiest, believing solely in reason rather than revelation.