Using time-dependent density functional theory, applied to the valence electrons and coupled non-adiabatically to molecular dynamics of the ions, we study the ionization and fragmentation of formaldehyde in collision with a proton. Four different impact energies: 35 eV, 85 eV, 135 eV, and 300 eV are chosen in order to study the energy effect in the low energy region, and ten different incident orientations at 85 eV are considered for investigating the steric effect. Fragmentation ratios, single, double, and total electron ionization cross sections are calculated. For large impact parameters, these results are close to zero irrespective of the incident orientations due to a weak projectile-target interaction. For small impact parameters, the results strongly depend on the collision energy and orientation. We also give the kinetic energy releases and scattering angles of protons, as well as the cross section of different ion fragments and the corresponding reaction channels.