Generalized Hamiltonian for a two-mode fermionic model and asymptotic equilibria