On random motions with velocities alternating at Erlang-distributed random times