Are you at fault if you hit somebody when you change lanes because there is a truck with emergency lights flashing and you cannot see the pedestrian?

If you changed lanes, before it was safe to do so, regardless of the reason I would say , yes, you are.