According to the search results, Rory and Dean sleep together in season 4, episode 22 of Gilmore Girls, titled "Raincoats and Recipes". This episode features Rory and Dean acting on their rekindled feelings for each other and having sex. It is worth noting that this event has significant fallout, including tension in Deans marriage to Lindsay and conflict between Rory and her mother, Lorelai.