Walmart Inc. and Target have been named as defendants in lawsuits filed by families who claim their babies got sick after drinking formula that retailers sold after a recall was announced.