If $\beta,\gamma > 0$ then the expected number is infinity (unless $n = 0$), because either $n < 0$ and then you never reach $n$, or $n > 0$ and then with some positive probability you "hop" over $n$.
Suppose that state $n+1$ is also good, and $n > 0$. Let $E_i$ be the expected number of steps to get to states $n$ or $n+1$ starting at state $i$. Then
$$ E_i = \alpha E_i + \beta E_{i+1} + \gamma E_{i+2} + 1. $$
This is a non-homogeneous recurrence relation that you can solve by first finding some non-homogeneous solution (try $E_i = a i + b$) and then solving the corresponding homogeneous recurrence (without the $+1$) in the usual way (this amounts to solving the quadratic $(1-\alpha)x^2-\beta x-\gamma$; note the singular solution if this is a square). You will get a two-dimensional solution space which can you collapse by using $$E_n = E_{n+1} = 0.$$ Then the answer is $E_0$.