TTBOMK, "stochastic algorithm" is not a standard term. The "randomized algorithm", however, is probably implied here.
Randomized: Uses randomness somehow. There are two options: Monte Carlo algorithms always end in a limited time, but do not guarantee the optimal solution, while Las Vegas algorithms are not necessarily guaranteed at any finite time, but promise to find the optimal solution. (Usually they should also have a finite expected runtime.) Examples of general Monte Carlo algorithms: MCMC, simulated annealing and testing of Miller-Rabin primitives. Quicksort with a randomized rod selection is the Las Vegas algorithm, which always ends in a finite time. An algorithm that does not use randomness is deterministic .
Heuristic: It is not guaranteed to find the correct answer. An algorithm that is not heuristic is accurate .
Many heuristics are sensitive to the "random" properties of the input data that do not affect the true solution, for example, order elements are considered in the First-Fit heuristic for a packaging problem. In this case, they can be considered as randomized Monte Carlo algorithms: you can randomly rearrange the inputs and repeat them, always preserving the best answer you will find. OTOH, other heuristics do not have this property - for example, the First-Fit-Decreasing heuristic is deterministic, because it always sorts the elements first in decreasing size order.
If the set of possible outputs of a particular randomized algorithm is finite and contains a true answer, then it is "guaranteed" for a sufficiently long time to ultimately find it (in the sense that the probability of not being found is arbitrarily small, but never 0). Please note that this is not so automatic that some rearrangement of the inputs to the heuristic will lead to an exact answer - in the case of First-Fit it turns out that this is true, but this was proved only in 2009.
Sometimes stronger statements can be made about the convergence of randomized algorithms: they usually go along the lines: βFor any given small threshold d, after t steps, we will be within d the optimal solution with probability f (t, d),β and f (t, d) increases from t and d.