Man accused of carjacking with knife is arrested