Idles a little rough and when pressing the accelerator doesn’t have power and stalls sometimes.
Doesn’t have power
The first thing to do would be to have any check engine light codes scanned. Post them below in the comments. If there are no check engine light codes then the most common cause for this on your vehicle would be a lack of fuel pressure. This can be from a faulty fuel pump or a restriction in the fuel line. The restriction could be a clogged fuel filter or a kink in the line. Could also be from a faulty sensor signalling the PCM to use less fuel such as a faulty MAF sensor.
A quick test would be to have someone press the accelerator and when it bogs, spray some starting fluid in the air filter. If the engine revs up then you know it is a lack of fuel that is causing the issue.