#include <bits/stdc++.h>
using namespace std;
bool count(string s) {
  int res = 0;
  for (int i = 0; i < s.length() - 6; i++)
    if (s.substr(i, 7) == "abacaba") res++;
  return (res == 1);
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    string s;
    cin >> n >> s;
    int flag = 0;
    for (int i = 0; i < n - 6; i++) {
      string x = s, st = "abacaba";
      for (int j = 0; j < 7; j++)
        if (x[i + j] == st[j] || x[i + j] == '?') x[i + j] = st[j];
      for (int j = 0; j < n; j++)
        if (x[j] == '?') x[j] = 'z';
      if (count(x)) {
        cout << "Yes\n";
        cout << x << "\n";
        flag = 1;
        break;
      }
    }
    if (!flag) cout << "No\n";
  }
}
