Yes, spoiled shortening can give you food poisoning. Some doctors state that rancid fats can harm health in the long run, so you should throw away the bad product.