Let me preface this question by saying that I am not an algebraic topologist.
Motivation. I was looking with a colleague at the homotopy type of a family of posets and we were able to show using discrete Morse theory that the order complex of this poset was homotopy equivalent to a space with exactly one-cell in dimensions $0$ to $n$ and no cells of higher dimension. Moreover, we can show that the fundamental group is cyclic. Extensive computer computation shows that it is most likely true that the homology in each dimension from $0$ to $n$ is $\mathbb Z$, Thus it smells like our complex is homotopy equivalent to a wedge of spheres, one from each dimension from $1$ to $n$. Before killing ourselves to prove that the homology is as the computer suggests, we wanted to figure out if this data implies the homotopy type of a wedge.
Question. Is is true that if one has an $n$-dimensional CW complex $X$ with exactly one cell in each dimension (from $0$ to $n$) such that $\pi_1(X)=\mathbb Z$ and $H^q(X)=\mathbb Z$ for $0\leq q\leq n$, then $X$ has the homotopy type of a wedge $\bigvee_{q=1}^n S^q$?