d15z1 help

okay so i bought a dx eg 4 door with a d15z1 swap it wont go past 4000 rpms!!!!
its currently running a p06 so do you think that could be the problem? what ecu should i run? it has a CEL for 14 which is idler air control valve or ecm? so idk what to do here it runs fine up till 4000 rpms? any help is apprecitated thanks in advance 

