If a large truck is slowing or stopping, it is safe to pull in front of it.
Never pull in front of a large vehicle that is slowing or stopping. The driver has based their ability to brake on the space ahead of their vehicle. If you suddenly pull into their lane, you have compromised the driver’s braking ability and could cause an accident.