Kajol was never replaced in Darr as she was never considered for the same. There were many actresses like Madhuri Dixit, Raveena Tandon and Aishwarya Rai who were considered for the same.
In fact, before Aamir Khan walked away from the project (as he requested a proper joint narration) the cast of Darr was Aamir, Sunny Deol and Divya Bharti.
When Sunny was signed he wanted Divya opposite him but Aamir insisted on Juhi Chawla. It resulted in Juhi's entry, Divya’s exit and later Aamir too made way for Shahrukh Khan.
The confusion about Kajol stems from Dil To Pagal Hai. Kajol was initially offered the role of Nisha (later played by Karisma Kapoor) but she turned down the offer.
She felt that the role was small compared to Madhuri Dixit’s lead role of Pooja. She preferred not to take a supporting or secondary character at that stage of her career.
Karisma took over the role which became a major career milestone for her. She won the National Award & Film Fare Award in the Best Supporting Actress category for her performance.
Aamir Khan was already a huge name a much ,much bigger star than SRK and 4 years his senior
Not a rank newcomer like SRK after Deewana
He already had Qayamat Se Qayamat Tak
Qsqt halter the action hero era of Amitabh Bachchan and Dharmendra
Which was copied by the likes of Anil Kapoor and Mithun Chakraborty.
Dil which outgrossed Ghayal Sunny Deol who was the biggest superstar of the era
Dil Hai Ki Manta Nahi
&
Jo Jeeta Wohi Sikandar
Even SRK said he watched Qsqt in college
SRK movies like Raju Bangaya Gentleman
And
Kabhi Haan Kabhi Naa
Were Aamir Khan rejects even Juhi Chawla when asked about the newcomer for Raju Bangaya Gentleman was said that he's like Aamir Khan
After the huge flop which was Lamhe Yash Chopra and Aamir Khan worked together in Parampara
Yash Chopra's first movie after Deewar which produced by an outside producer
Deewar by Gulshan Rai
And Parampara by Feroz Nadiadwala
Aamir Khan already a young superstar wanted a join narration with Sunny Deol
He was not okay with the fact that Sunny Deol would beat the shit out of him like he did too SRK in the movie he wanted a equal fight and Juhi Chawla killing his character.
He even said he didn't reject Darr he was removed from it.