A Stochastic Analysis of a Brownian Ratchet Model for Actin-Based Motility and Integrate-and-Firing Neurons