There is no mention of Fidel Castro, Cuba, or any other connection to that region in the novel. The story focuses on the lives of Lily Owens, a young girl in 1964 South Carolina, and her journey of self-discovery as she escapes her abusive father and finds refuge with the Boatwright sisters.
It's possible you might be thinking of another book or another connection entirely.