Dynamical behavior of almost periodically forced neutral delayed equation and its applications