<?php
$post_id = 3467;
$terms = 'xxws';
$taxonomy = 'listdom-category';
$append = false;

$result = wp_set_object_terms($post_id, $terms, $taxonomy, $append);

if (is_wp_error($result)) {
    echo 'Error: ' . $result->get_error_message();
} else {
    echo 'Success! Term taxonomy IDs: ' . implode(', ', $result);
}