If the baked casserole was cooled and refrigerated right after then yes, it is safe to consume it within 3-4 days.