While driving in the Interstate, a truck swerved towards my lane; I swerved into the next lane to avoid the truck hitting me and when I began to swerve my Lane Departure warning malfunctioned and caused my car to completely shut down. I immediately put my hazard lights on to hopefully avoid being hit; but, a car behind plowed right into my rear end. The police were onsite at the accident. My vehicle has been inspected by an independent service center and my insurance representative.