現在のスクリプトの実行を遅らせる方法はありません。非同期リクエストを使用して、コードを再構築する必要があります。
したがって、次のようなコードがある場合:
function postData() {
    for (var i = 0; i < users.length; i++) {
        var http = new XMLHttpRequest();
        //set args here, which is based elements of array users
        http.open('POST', '/user/home/index.php', true);
        //Set all headers here then send the request
        http.send(args);
        //access request result
        if (http.status == 200) {
            console.log(http.responseText);
        } else {
            console.log('request error');
        }
    }
}
次のように変更します。
var userIndex = 0;
function postData() {
    if (userIndex >= users.length) {
        //no more users to process
        return;
    }
    var http = new XMLHttpRequest();
    //set args here, which is based elements of array users
    http.open('POST', '/user/home/index.php', true);
    //set request handler
    http.onreadystatechange = function() {
        if (http.readyState != 4) return;
        if (http.status == 200) {
            console.log(http.responseText);
        } else {
            console.log('request error');
        }
        //process next user index
        userIndex++;
        window.setTimeout(function() {
            postData(); //do it again
        }, 5000); //5 seconds delay
    };
    //Set all headers here then send the request
    http.send(args);
}
postData(); //start the request chain